Displaying 1 result from an estimated 1 matches for "xyerrbar".
Did you mean:
errbar
2007 Oct 17
1
passing arguments to functions within functions
...s(df$fac1), at=1:length(levels(df
$fac1)))), xlim=c(0,length(levels(df$fac1))+1))
# here is a function to make the call to "summarize", but I cannot
understand how to pass the arguments to "summarize"
# I've tried passing them as names, text and vectors, but to no avail
xYerrbar=function(formula, data = sys.frame(sys.parent()), groups,
subset,
xlab = NULL, ylab = NULL, ylim = NULL, panel = panel.xYplot,
prepanel = prepanel.xYplot, scales = NULL, minor.ticks = NULL,
...)
{ # data=df; groups=fac2
require("Hmisc")
require("grid")...