r语言 主成分分析 图上怎么加图形框起来

2025-02-23 09:58:18
推荐回答(1个)
回答1:

程序如下:

>a=read.csv("shanghai2010.csv",header=T)
> attach(a)
> a[,3:8] #提取a中第3-8列
> PCA=pri