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 or such.
Character vector, indicating the type of plot.
Size of geoms. Depends on the context of the plot() function, so this argument may change size of points, lines or bars.
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