I'm trying to figure out if it's possible to use a character string as an
equation, e.g:
eqn1string <- "x^2 + x + 5"
Then I want to tell R:
1) that eqn1string is actually an equation (even though it was stored as a
character string), and
2) to apply the equation to a specified value of x (e.g. given x <- 6,
what is the result of the equation).
Thanks in advance for any insight anyone may be able to offer.
Emily
[[alternative HTML version deleted]]