Tao Yan
Blog
Publications
Projects
CV
corrplot
R语言学习笔记之相关性矩阵分析及其可视化
计算相关矩阵 R内置函数cor()可以用来计算相关系数:cor(x, method = c("pearson", "kendall", "spearman")),如果数据有缺失值,用cor(x, method = "pearson", use = "complete.obs")。
Cite
×