0

我正在努力更改在 ggbiplot 中创建的 biplot 中的属性。我想增加因子箭头末尾的文本大小(红色文本)。

有人可以帮忙吗?

我使用的代码如下。

ma<- read.csv(file.choose(), header=TRUE)    
ma   
suba <- subset(ma, select=-c(X,Boat,Trailer, Boat.clean))
xa <-cbind(Frequency, Distance, Catchment,Items,Clean,Boat,Trailer, Boat.clean)
pa <- princomp(suba)
spa <-ggbiplot(pa) + geom_text(aes(label=ma$X), size=5, hjust=-.1, vjust=0, colour="1", groups = pa, ellipse=TRUE) + xlim(c(-2.4, 2))

ggbiplot 堆栈示例:在此处输入图像描述

4

0 回答 0