Function call with optional inverse
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
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.