Re: [R] predict.prcomp: 'newdata' does not have the correct number of columns

From: Gad Abraham <gabraham_at_csse.unimelb.edu.au>
Date: Sun, 18 May 2008 19:21:56 +1000

Prof Brian Ripley wrote:
> This is not to do with 'wide' matrices' but to do with the lack of
> column names.
>
> There is a bug -- the definition of 'p' should have NROW and not NCOL.
>
> On Sun, 18 May 2008, Gad Abraham wrote:
>

I've submitted a bug report:
predict.prcomp: wrong check for matrix dimensions (PR#11482)

-- 
Gad Abraham
Dept. CSSE and NICTA
The University of Melbourne
Parkville 3010, Victoria, Australia
email: gabraham_at_csse.unimelb.edu.au
web: http://www.csse.unimelb.edu.au/~gabraham

______________________________________________
R-help_at_r-project.org 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 Sun 18 May 2008 - 09:28:35 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 Sun 18 May 2008 - 09:30:39 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.

list of date sections of archive