The code:
res <- PCA(decathlon, quanti.sup = 11:12, quali.sup = 13, ind.sup = 1:5)
gave me this message
Warning message: ggrepel: 1 unlabeled data points (too many overlaps). Consider increasing max.overlaps
This is not an error. If no further messages appeared, nothing went wrong.
The PCA function produces a plot with the ggplot2
package and uses the ggrepel
package to add nice labels for data points. The special thing about ggrepel is that it uses an iterative algorithm to place the labels in a way such that they do not overlap with each other or with the data points (more about ggrepel).
However, sometimes the data points are too crowded together and the algorithm finds no solution to place all labels. This is what your message means by "1 unlabeled data points". If it is no problem for you to have one unlabeled point in the plot, you can just ignore the message.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With