On Tue, Jan 25, 2011 at 5:12 PM, Phil Spector wrote:
> ?do.call
Erik, Phil, thanks!
Roy
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and
?do.call
Please provide a reproducible example if the help file is
not sufficient.
- Phil Spector
Statistical Computing Facility
Department of Statistics
Suppose I have a function, like list, that takes a variable number of
arguments, and I have those arguments in some vector x. How can execute the
function with the *contents* of x as its arguments? I.e., I don't want
list(x), but rather list(x[[1]], x[[2]], ..., x[[n]]), but I don't want to
spel
Suppose I have a function, like list, that takes a variable number of
arguments, and I have those arguments in some vector x. How can execute the
function with the *contents* of x as its arguments? I.e., I don't want
list(x), but rather list(x[[1]], x[[2]], ..., x[[n]]), but I don't want to
spell
4 matches
Mail list logo