Re: [R] cv.lm syntax error

From: agent dunham <>
Date: Tue, 08 Mar 2011 08:47:10 -0800 (PST)

Thanks for your answer, but I type the following:

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

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

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

What does it mean?

View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 08 Mar 2011 - 17:29:31 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 Mar 2011 - 17:50:19 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive