在R中进行偏相关分析
利用R语言进行偏相关分析这里推荐两个R包进行该分析:ggm和ppcor。但ggm只能提供偏相关系数,无法提供 p 值;ppcor能提供相关系数和p值,并能选择相关系数计算方法。ggm使用方法pcor(u, S),u, a vector of integers of length > 1. The first two integers are the indices of variables the correlation of which must be computed. The res
原创
2022-04-05 16:33:36 ·
2680 阅读 ·
0 评论