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
Post a Comment