[R] How do one modify an expression?
henrikb at braju.com
Tue Jul 3 08:01:42 CEST 2001
I am using expressions to annotate x and y labels in plots. I start of with
a label as
xlab <- expression(X)
Note that it is the user that sets this. It could also be something more
complicated as expression(sqrt(R*G)). Can I easily add a log "around"
this expression? I would like to get
xlab <- expression(log(X))
I basically know nothing about expressions.
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help