From Achim.Zeileis at wu-wien.ac.at  Mon Oct 10 01:59:26 2005
From: Achim.Zeileis at wu-wien.ac.at (Achim Zeileis)
Date: Mon, 10 Oct 2005 01:59:26 +0200 (CEST)
Subject: [Rd] cor doesn't accept na.rm? (PR#8193)
In-Reply-To: <20051009234904.0D3841C72D@slim.kubism.ku.dk>
References: <20051009234904.0D3841C72D@slim.kubism.ku.dk>
Message-ID: <Pine.LNX.4.58.0510100157110.7893@thorin.ci.tuwien.ac.at>

On Mon, 10 Oct 2005 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]

>From which part of the man page do you infer that?
(Hint: Which of the functions on that man page takes the na.rm argument?)

> > cor(frame2[1,],frame2[2,],na.rm=T)
> Error in cor(frame2[1, ], frame2[2, ], na.rm = T) :
> 	unused argument(s) (na.rm ...)
>
> hmm.

Look at the `use' argument of cor.
Z

P.S.: no bug, of course.

> ______________________________________________
> 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)
Achim Zeileis