| 查看: 1665 | 回复: 0 | ||
| 【悬赏金币】回答本帖问题,作者失忆小马扎将赠送您 10 个金币 | ||
[求助]
R做相关图时报错,参数值意味着不同的行数: 91, 78
|
||
|
代码如下: res <- cor(correlationmatrix_PV, use = "complete.obs" ![]() round(res, 2) library("Hmisc" ![]() res2 <- rcorr(as.matrix(correlationmatrix_PV)) res2 res2$r res2$P library(corrplot) corrplot(res2$r, type="upper", order="original", tl.col = "black", tl.srt = 45, p.mat = res2$P, sig.level = 0.05, insig = "blank" ![]() 最后一步报错了,提示Error in data.frame(..., check.names = FALSE) : 参数值意味着不同的行数: 91, 78 请问问题出在哪里?如何解决? 不胜感激~ |
» 猜你喜欢
最近几年招的学生写论文不引自己组发的文章
已经有5人回复
职称评审没过,求安慰
已经有54人回复
26申博自荐
已经有3人回复
A期刊撤稿
已经有4人回复














回复此楼