formFunction {StratigrapheR} | R Documentation |
Converts a formula into a function
Description
Converts a formula into a function
Usage
formFunction(formula)
Arguments
formula |
the formula to be converted. Should be of the form y ~ f(x) |
Examples
f <- formFunction(y ~ log10(x))
f(x=1:10)
[Package StratigrapheR version 1.3.1 Index]