[Rd] Suggestions for manipulating formula objects

rlee at fpcc.net rlee at fpcc.net
Wed Apr 20 22:05:36 CEST 2005


I'm trying to manipulate/change a formula prior to passing it to another
function.  A simplified example:

User passes formula to my function: y~x
My function does: lm(transform(y)~x)

Here, transform() is added to the model's response.

What is the best way to accomplish this?



More information about the R-devel mailing list