I'm new to R and I have a question regarding the package factoextra and the function fviz_nbclust().
I want to rename myself the axis X and Y but i can't find how to do it. I found how to add the title but not the axis.
fviz_nbclust(new_data, kmeans, method = "wss") +
geom_vline(xintercept = 4 , linetype = 2)+
labs(title= "K-means")
Does anyone know how to rename the axis ?
Thank you for your time.