On 20.01.2011 14:08, Claudia Beleites wrote:
Gerrit,
thanks & viele Grüße nach Oberhessen :-)
plot (1, 1, ylab = expression (Z[list(i,i)]))
though that cannot be evaluated, either (due to [ not knowing what to do
with an index list)
Works for me with a recent R version.
for future searches: probably the easiest cheat is, of course,
plot (1, 1, ylab = expression (Z["i, i"]))
which is less convenient since you could not replace i by a dynamically
calculated number, for example.
Best,
Uwe Ligges
Anyways, I put the "how to" into the R Wiki page on plotmath.
And I suggest that it should be mentioned in the plotmath help => email
to r-devel.
Claudia
______________________________________________
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.