Converts a formula into a function
formFunction(formula)
formula
the formula to be converted. Should be of the form y ~ f(x)
f <- formFunction(y ~ log10(x)) f(x=1:10)