Displaying 1 result from an estimated 1 matches for "variablethis".
Did you mean:
variablethat
1999 Dec 14
1
"formula plotting" -> substitute pecularity
...report.
{sometimes one should first ask on R-help before sending to R-bugs....}
I wanted to plot (.) a formula with "..."
## Works :
e0 <- expression(T(x[1],...x[n])*", "*N[1] == 101) # works ok
plot(1, main = e0)
## Now, need substitute, to replace with value of variableThis works
nn <- 102
(e1 <- substitute(T(x[1],...x[n])*", "*N[1] == n1, list(n1=nn)))
plot(1,main=e1)
## this works, but only because of a typo: I forgot one ","
## This ``should'' work, but does not :
e2 <- substitute(T(x[1],...,x[n])*", "*N[1] =...