Re: [R] where is the NIR dataset?

From: talepanda <talepanda_at_gmail.com>
Date: Wed 10 Jan 2007 - 09:15:59 GMT

NIR seems to be not dataset. It is a member of dataset "yarn". Try:

library(pls)
data(yarn)
str(yarn)

On 1/10/07, Carmen Meier <carmei3@web.de> wrote:
> I did just the download of the pls package, but the NIR dataset is not
> available
>
> require(pls)
> [1] TRUE
> data(NIR)
> Warning message:
> data set 'NIR' not found in: data(NIR)
>
> is there another package with the dataset for the examples?
>
> With regards Carmen
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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.
>



R-help@stat.math.ethz.ch 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. Received on Wed Jan 10 20:20:52 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 10 Jan 2007 - 10:30:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.