harrelfe / Hmisc

Harrell Miscellaneous
Other
204 stars 81 forks source link

Add type of correlation to output of rcorr() #158

Open WillemSleegers opened 1 year ago

WillemSleegers commented 1 year ago

Would it be possible to add the type of correlation (pearson, spearman) to the output of rcorr()?

I'm writing software to extract statistics from various R objects and it would be helpful to know what kind of statistics are stored in the output of rcorr().