Skip to content
Prev 21101 / 63424 Next

bug in prcomp (PR#8994)

The default method for prcomp does not have an na.action argument:

Usage:

      prcomp(x, ...)

      ## S3 method for class 'formula':
      prcomp(formula, data = NULL, subset, na.action, ...)

      ## Default S3 method:
      prcomp(x, retx = TRUE, center = TRUE, scale. = FALSE, tol = NULL, ...)

so this is as documented.  In general only formula-based interfaces do 
have subset and na.action.
On Fri, 16 Jun 2006, KjetilBrinchmannHalvorsen at gmail.com wrote: