viz_pcacm.Rd
PCA component measures
viz_pcacm(x, n_pca = 10, n_var = 10)
x | a data.frame |
---|---|
n_pca | Number of Principle components to show |
n_var | Number of Variables to show |
a ggplot2 object
viz_pcacm(mtcars)viz_pcacm(USArrests)#> Warning: Unknown levels in `f`: PC5, PC6, PC7, PC8, PC9, PC10viz_pcacm(beaver1)#> Warning: Unknown levels in `f`: PC5, PC6, PC7, PC8, PC9, PC10viz_pcacm(mtcars, n_pca = 4)viz_pcacm(mtcars, n_var = 4)viz_pcacm(mtcars, n_pca = 2, n_var = 6)