plot_explained_variance | R Documentation |
This function plot the explained variance by the Principal Component analysis.
plot_explained_variance(
screenR_Object,
cumulative = FALSE,
color = "steelblue"
)
screenR_Object |
The ScreenR object obtained using the
|
cumulative |
A boolean value which indicates whether or not to plot the cumulative variance. The default value is FALSE. |
color |
The color to fill the barplot the default value is steelblue |
The explained variance plot
object <- get0("object", envir = asNamespace("ScreenR"))
plot_explained_variance(object)
# For the cumulative plot
plot_explained_variance(object, cumulative = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.