Displaying 1 result from an estimated 1 matches for "amath1".
2006 Mar 06
3
how to make plotmath expression work together with paste
...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(theta)))
# still works
text(10,60,amath1)
# paste breaks math output
text(60,60, paste (amath1, "=" , avar1) )
# Can't paste expression
text(20,30, paste("a word",avar1, expression( partialdi...