Questions tagged [factoextra]

factoextra is an R package making easy to extract and visualize the output of exploratory multivariate data analyses, including PCA , CA, MCA, MFA, HMFA and FAMD

factoextra is a R package, written by Alboukadel Kassambara, is an R package for visualizing the output of exploratory multivariate data analyses. It extracts analysis results from various R packages for principal component analysis and can generate ggplot2-based plots. Also it contains functions facilitating clustering analysis and visualization.

Repositories

books

70 questions
0
votes
1 answer

Removing the inner color of the ellipse in PCA

Does anyone know how to change the transparency(or alpha) of the color in the ellipse? I want to remain only the line of boundary in the plot. I tried to mimic the code in this…
Ssong
  • 184
  • 1
  • 10
0
votes
2 answers

Can't apply k means algorithm to my dataset Error in do_one(nmeth) : NA/NaN/Inf in foreign function call

So I am trying to estimate the actual number of clusters with the fviz_nbclust function but it doesn't stop showing me this error: Error in do_one(nmeth) : NA/NaN/Inf in foreign function call (arg 1) In addition warning messages: 1: In…
0
votes
2 answers

Insert new matrix in the R scatterplot

I would like to insert new coordinates in my scatterplot, from another matrix. I am using the fviz_cluster function to generate the graph for the clusters. I would like to insert the coordinates of the matrix called Center of mass in my graph, as…
user13047398
0
votes
0 answers

Palette parameter in fviz_pca_biplot cannot change the palette

The palette parameter in fviz_pca_biplot function (from factoextra package) can't change the colors. I have added habillage parameter, and function works correctly, except colors. Is this a bug, or I don't understand the function? The same parameter…
IP-84
  • 23
  • 5
0
votes
1 answer

pca and cluster analysis, very slow computing

My data has 30,000 rows and 140 columns and I am trying to cluster the data. I am doing a pca and then using about 12 pc to use in the cluster analysis. I took a random sample of 3000 observations and ran it and it took 44 minutes to run both the…
shp5009
  • 47
  • 3
0
votes
0 answers

The daisy function from the cluster package returns error on data

I want to use ordinal data (1,2,3,4) of 59 observables with 322 variables and daisy, eventually leading to a cluster analysis. I use the script below on an excel input file (csv). After daisy, the following error message occurs: > Error in…
Pher
  • 1
0
votes
1 answer

R - DBSCAN fviz_cluster - get coordinates of elements with dim1 and dim2

I'm a noob with R, and I'm trying to do clustering on some data samples. I've tried a PCA, res.pca <- PCA(df, ncp = 5, # nb composantes principales. graph = TRUE, ) and I can get the full elements list…
G. Xib
  • 11
  • 3
0
votes
0 answers

Add border to dots PCA analysis

I would like to add a border to the dots, this will allow me to use the color white. I have tried to utilise fill which does not work even if pass a number of color equal to the number of rows. Also col.ind does not help library(factoextra) …
Al14
  • 1,734
  • 6
  • 32
  • 55
0
votes
1 answer

Contributions of features in PCA based on group/class

I would like to get/plot the contribution of the features for each type of wine class(barolo, grignolino, barbera). With fviz_contrib I get the contribution over all classes, as shown in the MWE below. However I was wondering if and how it is…
raumkundschafter
  • 429
  • 1
  • 8
  • 24
-1
votes
1 answer

How to install "factoextra" in R?

I am using R version 3.0.3. while running library(devtools) install_github("kassambara/factoextra") Iam getting below error: Downloading github repo kassambara/factoextra@master Error in function (type, msg, asError = TRUE) : Failed to connect…
user43247
  • 101
  • 1
  • 4
1 2 3 4
5