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: [EMAIL PROTECTED]
> 
> 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@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
>

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to