Skip to content
Prev 215869 / 398498 Next

Regression

Bruce,

You don't tell us what class of data your y is.  Assuming y is defined 
in your enviroment, what does

class(y)

and

str(y)


tell you?  You'll most likely have to fine-tune your data reading 
process, or do some post-processing to make sure the y object (and x for 
that matter) are the classes you want.

And as always,
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

You can give us samples of your data with the dput function, see ?dput.
Bruce Kindseth wrote: