[R] cv.lm syntax error

agent dunham crosspide at hotmail.com
Fri Mar 4 10:11:15 CET 2011


Dear all, 

I've tried a multiple regression, and now I want to try a cross-validation. 

I obtain this error (it must be sth related to df) that I don't understand,
any help would be appreciated. 

cv.lm(df= dat, lm2.52f, m=3)

Error en `[.data.frame`(df, , ynam) : undefined columns selected

lm2.52f is my lm object, dat is a dataframe where the variables involved in
.lm are

I tried CVlm also but the same error

Thanks, user at host.com




--
View this message in context: http://r.789695.n4.nabble.com/cv-lm-syntax-error-tp3334889p3334889.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list