[R] cv.lm syntax error

agent dunham crosspide at hotmail.com
Wed Mar 9 23:43:11 CET 2011


Yea, sorry,  that's what I mean, and  v1,...,v5 and factor have the same
length, that's why I don't understand the error

> dfmod.1 <- data.frame(v1,v2,v3,v4, v5,factor)

> CVlm(df= dfmod.1, form.lm = formula(v1 ~ v2+v3+ v4+ v5+ factor), m=3,
> seed=29, plotit=TRUE, printit =TRUE)

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

Thanks, 

user at host.com



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



More information about the R-help mailing list