A wrapper function for a simrel object
plot_simrel(
obj,
ncomp = min(obj$p, obj$n, 20),
which = c(1L:4L),
layout = NULL,
print.cov = FALSE,
use_population = TRUE,
palette = "Set1",
base_theme = ggplot2::theme_grey,
lab_list = NULL,
theme_list = NULL
)
A simrel object
Number of components to show in x-axis
An integer specifying which simrel plot to obtain
A layout matrix for arranging the simrel plots
A boolean where to print covariance matrices
A boolean specifying weather to get plot for population or sample
Name of color paletter compaticable with RColorBrewer
Base ggplot theme to apply
List of labs arguments such as x, y, title, subtitle. A nested list if the argument which has length greater than 1.
List of theme arguments to apply in the plot. A nested list if the argument which has length greater than 1.
Simrel Plot(s)
# NOT RUN {
sobj <- bisimrel(p = 12)
plot_simrel(sobj, layout = matrix(1:4, 2, 2))
# }
Run the code above in your browser using DataLab