PCA component measures

viz_pcacm(x, n_pca = 10, n_var = 10)

Arguments

x

a data.frame

n_pca

Number of Principle components to show

n_var

Number of Variables to show

Value

a ggplot2 object

Examples

viz_pcacm(mtcars)
viz_pcacm(USArrests)
#> Warning: Unknown levels in `f`: PC5, PC6, PC7, PC8, PC9, PC10
viz_pcacm(beaver1)
#> Warning: Unknown levels in `f`: PC5, PC6, PC7, PC8, PC9, PC10
viz_pcacm(mtcars, n_pca = 4)
viz_pcacm(mtcars, n_var = 4)
viz_pcacm(mtcars, n_pca = 2, n_var = 6)