.BG
.FN call
.FN is.call
.FN as.call
.TL
Function Calls
.CS
call(NAME, ...)
is.call(x)
as.call(x)
.AG NAME
the character name of the function to be called.
.AG ...
arguments to the function.
.AG x
any object.
.RT
`call' creates a call to the named function, using the remaining
arguments as the arguments to the function call.
`is.call' checks whether `x' is a function call and `as.call' tries
to coerce `x' to a function call.
.SA
`do.call' (to construct and evaluate a call).
.EX
funs <- c("sin", "cos")
my.call <- call(funs[which], as.name("x"))
# my.call ready to be evaluated or put into an expression
.KW programming
.WR
