Skip to content
Prev 387543 / 398502 Next

About fviz_famd_ind()

Hallo

However sometimes it could be easier to fine tune simple biplot function.

fit <- prcomp(iris[,-5])
biplot(fit, col=c("white", "grey"), xlim=c(-.15,.15), ylim=c(-0.05, .05),
expand=1)
points(fit$x[,1:2]*3, pch=c(17, 19)[as.numeric(iris$Sepal.Length<6)+1],
col=c(2,4)[as.numeric(iris$Petal.Length<5)+1], cex=2)
box()

You could use various pch, col and cex for points. You could annotate points
with text function. You could add legends.

Cheers.
Petr
additional
should
http://www.R-project.org/posting-guide.html