参考http://blog.sciencenet.cn/blog-3247241-1056218.html
data<-read.table("data.txt",row.names=1)
cormat<-cor(data,method="spearman")
library(corrplot)
corrplot.mixed(cormat,lower = "number",tl.pos = "lt")
image
参考http://blog.sciencenet.cn/blog-3247241-1056218.html
data<-read.table("data.txt",row.names=1)
cormat<-cor(data,method="spearman")
library(corrplot)
corrplot.mixed(cormat,lower = "number",tl.pos = "lt")
image
本文标题:R做相关性分析及可视化
本文链接:https://www.haomeiwen.com/subject/mayygxtx.html
网友评论