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 )
obj
: A simrel objectncomp
: Number of components to show in x-axiswhich
: An integer specifying which simrel plot to obtainlayout
: A layout matrix for arranging the simrel plotsprint.cov
: A boolean where to print covariance matricesuse_population
: A boolean specifying weather to get plot for population or samplepalette
: Name of color paletter compaticable with RColorBrewerbase_theme
: Base ggplot theme to applylab_list
: List of labs arguments such as x, y, title, subtitle. A nested list if the argument which has length greater than 1.theme_list
: List of theme arguments to apply in the plot. A nested list if the argument which has length greater than 1.Simrel Plot(s)
sobj <- bisimrel(p = 12) plot_simrel(sobj, layout = matrix(1:4, 2, 2))