# NOT RUN {
# Perform Horn's Parallel analysis with matrix n x p dimensions
x <- matrix(rnorm(200*3), ncol = 10)
# using data
horns_curve(x)
# using n & p inputs
horns_curve(data = NULL, n = 25, p = 10)
# Graph the scree line for a dimensionality assessment
horns_curve(x) %>%
plot()
# }
Run the code above in your browser using DataLab