From MSchwartz at mn.rr.com  Mon Oct 10 01:59:44 2005
From: MSchwartz at mn.rr.com (MSchwartz@mn.rr.com)
Date: Mon, 10 Oct 2005 01:59:44 +0200 (CEST)
Subject: [Rd] cor doesn't accept na.rm? (PR#8193)
Message-ID: <20051009235944.C3FBD1C72D@slim.kubism.ku.dk>

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



[Rd] cor doesn't accept na.rm? (PR#8193)
MSchwartz@mn.rr.com