[Rd] cor doesn't accept na.rm? (PR#8193)
Achim Zeileis
Achim.Zeileis at wu-wien.ac.at
Mon Oct 10 01:59:26 CEST 2005
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
>
More information about the R-devel
mailing list