On Mon, 2005-10-10 at 01:49 +0200, pdbailey at uchicago.edu wrote:
Full_Name: Paul Bailey Version: 2.1.1 OS: OS X 10.3 Submission from: (NULL) (68.252.250.144) ?cor [tells me that it has a na.rm variable]
cor(frame2[1,],frame2[2,],na.rm=T)
Error in cor(frame2[1, ], frame2[2, ], na.rm = T) : unused argument(s) (na.rm ...) hmm.
Pray tell, where in ?cor do you see that cor() has a 'na.rm' argument? cor() has a 'use' argument, which determines how missing values are handled. Please read ?cor more carefully before filing a bug report, which now has to be manually handled by a member of R Core. Marc Schwartz