Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有替代 ggvegan 用于在 R 版本 4.0.0 中创建 pca 图。我已将 rda 函数与以下脚本一起使用:
dput(mite.env) pca<-rda(mite.env[,1:2]) summary(pca) autoplot(pca, arrows = TRUE)
但是,似乎 ggvegan 不适用于最新版本的 R。有替代方案吗?
做
if (!require(devtools)) { install.packages("devtools") } devtools::install_github("gavinsimpson/ggvegan")
devtools::install_github("githubadress")作为 R 开发人员,应该始终在您的工具带中,以便从 github 获取最新版本的 R 包。
devtools::install_github("githubadress")
我用 R 4.0.2 试过这个,它工作。