Displaying 1 result from an estimated 1 matches for "avar1".
Did you mean:
var1
2006 Mar 06
3
how to make plotmath expression work together with paste
...;t work together.
Here is some example code that shows what I mean.
plot(NA,xlim=c(0,100),ylim=c(0,100))
#show plot math works
text(16, 22, expression(slope == frac(partialdiff * f(hat(theta)),
partialdiff * hat(theta))))
# I want to put values of variables into the middle of expressions
avar1 <- 10
# prove I am able to use paste!
text(40,40, paste("a word",avar1,"other words")
# But I'm completely frustrated by the problem of making paste and
# expression work together.
amath1 <- expression(slope == frac(partialdiff * f(hat(theta)),
partialdiff * hat(th...