Skip to content
Prev 387650 / 398502 Next

Colorizing different individuals with fviz

Hi Jim,

It seems that the following proposed method doesn't work


ind <- get_famd_ind(res.famd)
fviz_famd_ind(res.famd,
              col=ifelse(x>10,"red","black"),
              repel = TRUE)


Result is:


Error in fviz_famd_ind(res.famd, col = ifelse(x > 10, "red", "black"),  :
  argument 2 matches multiple formal arguments



Any idea to fix that?

Regards,
Mahmood