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"), text_size = 3.5, text_color = "black", size = 1, ... )
An object.
Character vector, indicating the type of plot.
Size of text labels.
Color of text labels.
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 { 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