I would like to create a function that allows me to visualize a particular individual point on a PCA and highlight it in relation to the others individuals
I tried this code :
fviz_pca_ind(res.pca, select.ind = list(name = c("23", "42", "119")))
The problem is that it shows me only these points and they are no longer positioned in relation to others, in the forum there are well examples to color the points according to criteria (cos^2, contribution… ), but I do not see how to do it just by selecting individuals from others.
Leave an answer