funcall | R Documentation |
Applies an expression to vector v, optionally inverting the expression first. For example if the expression is log, funcall returns log(v) if inverse is FALSE, and exp(v) if inverse is TRUE.
funcall(v, vcall, inverse = FALSE)
v |
vector |
vcall |
expression |
inverse |
logical |
Inverse covers functions log, exp, sqrt, ^, *, /, +, -.
Returns a vector of length v.
Tim Cole tim.cole@ucl.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.