[R] plotting Formulas with greek letters and variable values (expression, substitute, paste, ...)

rrookie1982 desser1 at uni-bonn.de
Sun Jan 17 18:47:49 CET 2010


Hallo together,

I want to write a formula of the type

http://n4.nabble.com/file/n1016112/expression.gif 







into my plot, where the values 1.234 and -0.567 should origin from variables
in the program. The threads in this forum gave me some ideas that the
functions expression(), paste(), and substitute() will get me there but I
just cannot figure out how to do it. The closest I got is:

text(0,7.5,substitute(expression(paste(symbol("t"),"(A) = ",c1 +
lg(A^c2),sep="")),list(c1=0,456,c2=-0.123)),pos=4)

Thankful for any suggestions!
Daniel
-- 
View this message in context: http://n4.nabble.com/plotting-Formulas-with-greek-letters-and-variable-values-expression-substitute-paste-tp1016112p1016112.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list