Hello,

How do I calculate a robust correlation in R?
I want to compare it to the pearson method.

library(mvoutlier)
data(chorizon)
cor(log10(chorizon$Al), log10(chorizon$Na), method=c("pearson"))

KR,
Alin Soare

        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to