Displaying 1 result from an estimated 1 matches for "yvname".
Did you mean:
vname
2007 Oct 17
1
passing arguments to functions within functions
...= NULL, ylab = NULL, ylim = NULL, panel = panel.xYplot,
prepanel = prepanel.xYplot, scales = NULL, minor.ticks = NULL,
...)
{ # data=df; groups=fac2
require("Hmisc")
require("grid")
require("lattice")
ytext <- as.character(formula[2])
yvname <- formula[[2]]
y <- eval(parse(text = ytext), data)
xexp <- formula[[3]]
if (length(xexp) > 1 && as.character(xexp[[1]]) == "|") {
xvname <- xexp[[2]]
byname <- xexp[[3]]
xtext <- as.character(xexp[2])
byname...