Skip to content

About fviz_famd_ind()

3 messages · Mahmood Naderan-Tahan, Sarah Goslee, PIKAL Petr

#
Hi

I use fviz_famd_ind() from factoextra and I would like to know

1) How can I decrease the font size?

2) How to increase max.overlaps?


ind <- get_famd_ind(res.famd)
fviz_famd_ind(res.famd, col.ind = "cos2",
              gradient.cols = c("#00AFBB", "#E7B800", "#FC4E07"),
              repel = TRUE)


Regards,
Mahmood
#
The way to start is looking at the help for that function, which includes:

... Arguments to be passed to the function fviz()

so you may have more low-level control through those arguments. If
fviz() itself doesn't do what you want, it also allows you to pass
additional arguments to its lower-level functions. If you go down far
enough, you should be able to control everything.

Sarah

On Sun, Mar 21, 2021 at 1:12 PM Mahmood Naderan-Tahan
<mahmood.naderan at ugent.be> wrote:

  
    
#
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