function {oosp} | R Documentation |
A prototype function for conveniently changing the body of another function. Currently limited to one line functions. As well as a function for creating polynomials.
## S3 method for class 'function': mutate(f, str, ...) makepoly (k)
f |
An R function, e.g. function (x) NULL. |
str |
New body, as a character. |
k |
A vector of coefficients. |
... |