powered by
The plot() method for the parameters::n_factors() and parameters::n_clusters()
plot()
parameters::n_factors()
parameters::n_clusters()
# S3 method for see_n_factors plot(x, data = NULL, type = c("bar", "line", "area"), size = 1, ...)
An object.
The original data used to create this object. Can be a statistical model.
Character vector, indicating the type of plot.
Depending on type, a numeric value specifying size of bars, lines, or segments.
type
Arguments passed to or from other methods.
A ggplot2-object.
# NOT RUN { if (require("parameters") && require("nFactors")) { data(mtcars) result <- n_factors(mtcars, type = "PCA") result plot(result, type = "line") } # }
Run the code above in your browser using DataLab