Displaying 1 result from an estimated 1 matches for "testcase_id".
Did you mean:
testcase_dir
2012 Aug 11
1
using eval to handle column names in function calling scatterplot graph function
...MA",
data=subdf)
plot(eval(parse(text = yvarcol))~eval(parse(text = xvarcol)), main =
paste(yvar," by ",xvar, sep=""), xlab = xvar, ylab = yvar)
scatterplot(eval(parse(text = yvar))~eval(parse(text = xvar)),
boxplots='xy', data=subdf, main = "Testcase_ID=142")
}
When I execute the function:
plotvar(mydf,mydf$PARMNAME, "C_2TAMP","Amp_2T","C1")
everything seems to work until the scatterplot statement. It posts this
error:
Error in parse(text = yvar) : object 'yvar' not found
However, when I insert br...