search for: sumdf1

Displaying 1 result from an estimated 1 matches for "sumdf1".

Did you mean: sumdf
2007 Oct 17
1
passing arguments to functions within functions
...ynametext <- as.character(xexp[3]) } else {xvname <- xexp; xtext <- as.character(xexp)} xv <- eval(xvname, data) byfac <- eval(byname, data) if (!missing(groups)) {groups <- eval(substitute(groups), data)} # none of the below seem to work sumdf1=do.call("summarize", args=list(X=y, by=llist(xvname), FUN=meanstderr)) sumdf2=do.call("summarize", args=list(X=y, by=xv, FUN=meanstderr)) sumdf4=summarize(y, by=llist(xv), FUN=meanstderr) } xYerrbar(formula=resp1~fac2|fac1, data=df, groups=fac3) [[alternative HTML...