Jeff Newmiller <jdnew...@dcn.davis.ca.us> writes:

> Using I() in the data.frame seems ill-advised to me. You complain about 96
> variables but from reading your explanation that seems to be what your data
> are.

In PSLR, it is common to regress a variable against matrices with very
many coloumns, often several thousands.  Using a data frame with one
predictor variable for each coloumn is going to make the formula
handling very slow.  And if you have several such predictor matrices, it
is very practical to keep them as single variables in the data frame, so
you easily can select/deselect which groups of variables you want in the
model.

-- 
Regards,
Bjørn-Helge Mevik

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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