powered by
Converts a formula into a function
formFunction(formula)
the formula to be converted. Should be of the form y ~ f(x)
f <- formFunction(y ~ log10(x)) f(x=1:10)
Run the code above in your browser using DataLab