[R] how to calculate Spearman correlation with missing values

Torsten Hothorn hothorn at ci.tuwien.ac.at
Wed Sep 10 21:01:23 CEST 2003


On Wed, 10 Sep 2003 szhan at uoguelph.ca wrote:

> Hello, there:
> I got data matix with missing values. I want to calculate any possible 
> pairwise Spearman correlation rho for each column. Is there a function just 
> like cor(x, y, use="complete.obs") for Pearson correlation?
> Thanks in advance!
> 

?cor.test
                                                                            

> Josh
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> 
>




More information about the R-help mailing list