From andy_liaw at merck.com  Mon Oct 10 01:55:22 2005
From: andy_liaw at merck.com (Liaw, Andy)
Date: Sun, 9 Oct 2005 19:55:22 -0400
Subject: [Rd] cor doesn't accept na.rm? (PR#8193)
Message-ID: <39B6DDB9048D0F4DAD42CB26AAFF0AFAFED4E9@usctmx1106.merck.com>

Where in ?cor do you see the na.rm argument?  Mine says:

cor(x, y = NULL, use = "all.obs",
     method = c("pearson", "kendall", "spearman"))

There's na.rm on that page, but that's for var().  Please read the R FAQ
more carefully about reporting bugs.

Andy

> From: pdbailey at uchicago.edu
> 
> 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.
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
>



[Rd] cor doesn't accept na.rm? (PR#8193)
Liaw, Andy