powered by
The plot() method for the parameters::principal_components() function.
plot()
parameters::principal_components()
# S3 method for see_parameters_pca plot( x, type = c("bar", "line"), size_text = 3.5, text_color = "black", size = 1, ... )
An object.
Character vector, indicating the type of plot.
Size of text labels.
Color of text labels.
Depending on type, size of bars, lines or segments.
type
Arguments passed to or from other methods.
A ggplot2-object.
# NOT RUN { library(parameters) data(mtcars) result <- principal_components(mtcars[, 1:7], n = "all", threshold = 0.2) result plot(result) # }
Run the code above in your browser using DataLab