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 <[EMAIL PROTECTED]> 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 > > ______________________________________________ > [email protected] 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. > ______________________________________________ [email protected] 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.
