On Wed, 18 Jun 2003 [EMAIL PROTECTED] wrote:
According to the man page for formula, a formula object has an associated
environment. However, update.default doesn't use this environment, which
creates problems like the following:
make.model - function(x) { lm(medv~.,x) }
library(MASS)
According to the man page for formula, a formula object has an associated
environment. However, update.default doesn't use this environment, which
creates problems like the following:
make.model - function(x) { lm(medv~.,x) }
library(MASS)
data(Boston)
fit = make.model(Boston)
fit =
Thanks, that clears things up. I will use the make.form trick from now
on.
Tom
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel