On Feb 8, 2011, at 12:25 PM, David Winsemius wrote:
On Feb 8, 2011, at 11:43 AM, kateF87 wrote:
I have a relatively simple question.
I am trying to post a title to a plot using a symbol and multiple
lines.
Right now I have:
title(main = c('Hazard Ratio for women with score', expression('>='),
'Across /nQuintiles of Activity')
I am going to anticipate the next question, which I assume to be how
to insert a value after the ">=" sign:
> b=5
> plot(1,1)
> title(main = bquote(atop(paste("Hazard Ratio for women with
score", "">=.(b)) , "Across Quintiles of Activity") ) )
Even more compact (paste not needed) would be:
title(main = bquote(atop("Hazard Ratio for women with score">=.(b) ,
"Across Quintiles of Activity") ) )
--
David Winsemius, MD
West Hartford, CT
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
West Hartford, CT
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.