2

I would like to know how to remove the observations in my biplot (the black numbers in the background in my graph) and only keep the red arrows (variables).

This is my biplot: biplot(x=pca, choices=1:2) enter image description here

Aimz
  • 33
  • 1
  • 4

2 Answers2

1

You can use the following for xlabs:

biplot(pca, xlabs=c(rep("", nrow(data))

Danil
  • 11
  • 1
  • I don't think they were trying to remove axis labels—they're trying to remove the observation labels – camille Aug 24 '21 at 15:54
1

You could change the color of the labels to white:

biplot(pca, col = c("white", "deeppink3"))
Martin Gal
  • 16,640
  • 5
  • 21
  • 39