[R] concatenating expressions and standard text
Kristel Joossens
kristel.joossens at econ.kuleuven.be
Wed Dec 14 16:05:44 CET 2005
Can you give an example of the expression you would like to have on you
horizontal axis?
Simple expressions like ex1 <- expression(1+ 0:9) seem to work well.
Kristel
manuel.martin wrote:
> 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[0]) and "for case 1" on my x axis.
> Obviously a plot(x, y, xlab=paste(expression(C[0])," in case1")) will
> not work.
>
> Thank you in advance,
>
>
> Manuel Martin
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
--
__________________________________________
Kristel Joossens Ph.D. Student
Research Center ORSTAT K.U. Leuven
Naamsestraat 69 Tel: +32 16 326929
3000 Leuven, Belgium Fax: +32 16 326732
E-mail: Kristel.Joossens at econ.kuleuven.be
http://www.econ.kuleuven.be/public/ndbae49
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
More information about the R-help
mailing list