r - ggbiplot 以前与 prcomp 一起工作,现在不会
问题描述
ggbiplot
以前使用没有问题,prcomp
但现在没有。我收到的只是以下错误代码:
plot_label 中的错误(p = p,数据 = plot.data,label = label,label.label = label.label,:不支持的类:prcomp
我已经安装了ggbiplot
usingdependencies=TRUE
以及其他关于类似问题的所有其他帖子,但我仍然收到此消息。
任何帮助表示赞赏。
mypca <- prcomp(mydata, center=TRUE, scale.=TRUE)
ggbiplot(mypca, center=TRUE, scale.=TRUE)
plot_label 中的错误(p = p,数据 = plot.data,label = label,label.label = label.label,:不支持的类:prcomp
解决方案
推荐阅读
- r - 查找给定 y 值的 x 值
- kibana - Kibana 中的子图表
- r - 如何将不同方法的集群标签与 r 中的实际标签相匹配?
- python - 将带有嵌套字典的字典转换为熊猫数据框
- admob - 代号一应用和 GDPR 上的 admob 广告
- php - 预期响应代码 250 但得到代码“530”,消息“530-5.5.1 需要身份验证 - Laravel
- reactjs - 如何在 React Typescript 中实现输入对话框
- colors - 更改另一个应用程序的背景颜色
- elasticsearch - jhipster:弹性搜索节点不可用
- javascript - 将对象推入循环内的数组中