Labelling R plots using Greek letters
A short answer is you can consider the tikzDevice package; then a long (really really long) answer is this: http://yihui.github.com/knitr/demo/graphics/ Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA
On Sun, Dec 11, 2011 at 7:17 PM, David Winsemius <dwinsemius at comcast.net> wrote:
On Dec 11, 2011, at 6:38 PM, john james wrote:
Dear R Users,
Please I have the following query. I want to label ?one of the axes of my
graph with the follwing latex expression- \beta^{\prime}x, i.e I have the
transpose of beta. How do I go abt this.
My second query is similar but it has to do with the conditioning symbol.
The other axis is to be labelled as Y|X + \beta^{\prime}x.
?plotmath
plot(1,1, xlab=expression(beta^"`"*X), ylab=expression(Y*"|"*X+beta^"`"*X) )
(Unfortunately the prime on the y lab is noe on the printed page in my
device ( mac). so this hack seems to work better)
plot(1,1, xlab=expression(beta^"'"*X), ylab=expression(over(phantom(""),
Y*"|"*X+beta^"'"*X) ))
Thank you very much as I await assistance on this. John ? ? ? ?[[alternative HTML version deleted]]
______________________________________________ R-help at 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 at 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.