Hi,
It's not enough to create a string with your instructions, it also needs to
be evaluated as such.
If you really wanted to evaluate your string, you'd need something like,
a <- b <- cc <- 1 # dummy example
eval(parse(text = "cbind(a, b, cc)"))
#library(fortunes)
#fortune("parse")
but fortune
R-2.9.1, Windows7
Dear list,
I have a question to you that seems very simple to me, but I just can't
figure it out.
I have a dataframe called "ratings" which contains the following
variables: evalR1, evalR2, evalR3, evalR4, scoreR1, scoreR2, scoreR3,
scoreR4, opinionR1, opinionR2, opinionR3, opin
2 matches
Mail list logo