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, 

u...@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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to