英文:
Weird output from `corrplot`
问题
我正在使用corrplot库,并且这是代码:
corrplot(correlation_matrix, method = "number",
number.cex = 0.6,
tl.col = "black",
type = "lower",
tl.srt = 45)
出奇地,它输出了这个奇怪的图:
有任何想法为什么会发生这种情况吗?我直接根据文档构建了相关矩阵。
英文:
I am working with corrplot library and this is the code:
corrplot(correlation_matrix, method = "number",
number.cex = 0.6,
tl.col = "black",
type = "lower",
tl.srt = 45)
Surprisingly it outputs this strange plot:
Any idea why this happens? I build the correlation matrix directly looking from the documentation.
答案1
得分: 2
我找到了如何修复它的方法。我必须如下指定 "corrplot::":
corrplot::corrplot(correlation_matrix, method = "number",
number.cex = 0.6,
tl.col = "black",
type = "lower",
tl.srt = 45)
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论