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, show_labels = TRUE, ... )
An object.
Character vector, indicating the type of plot.
Numeric value specifying size of text labels.
Character specifying color of text labels.
Depending on type, a numeric value specifying size of bars, lines, or segments.
type
Logical. If TRUE, text labels are displayed.
TRUE
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