r - Set the color of each arrow and dot in a biplot(prcomp) -


i need more complex color labels pca biplot. using usarrests data example: want each variable (murder, etc) plots pre-defined colored arrow, , each observation (alabama, etc) plots pre-defined colored name.

at time, seems me ggbiplot, resolve that, needs dev version of r installed.

i try biplot(prcomp(), scale=t, center=t), instead of vegan functions.

i'm trying figure out way configure biplot(prcomp()) arrows color handling usarrests.pca$rotation[i:f,] , observations names color manipulating usarrests.pca$x[b:e,], not being succeded.

can help?


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -