1
我想在我的情节包括PC1
和PC2
的百分比,是否可以直接使用autoplot?Autoplot prcomp与百分比
plotPCA <- autoplot(prcomp(df),data=b, colour="labs")
我想在我的情节包括PC1
和PC2
的百分比,是否可以直接使用autoplot?Autoplot prcomp与百分比
plotPCA <- autoplot(prcomp(df),data=b, colour="labs")
也许是这样的:
data("iris")
PCA = prcomp(iris[-5])
dfdf = stats:::summary.prcomp(PCA)$importance[2, ]
plotPCA <- autoplot(ts(dfdf))
plotPCA
你'标准deviations'和''prcomp'输出Rotation'。哪一个你想要绘制? – AK88
我们也有比例的差异,这是我想要的 – user2300940