[R] concatenating expressions and standard text
p.murrell at auckland.ac.nz
Fri Dec 16 00:34:04 CET 2005
> Hi all,
> is it possible to concatenate expressions and basic text when for
> instance labeling axis of a plot? I would like to see something like the
> concatenation of expression(C) and "for case 1" on my x axis.
> Obviously a plot(x, y, xlab=paste(expression(C)," in case1")) will
> not work.
Is this what you mean ... ?
plot(1, expression(paste(C, " in case 1")))
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
64 9 3737599 x85392
paul at stat.auckland.ac.nz
More information about the R-help