| print.badp_plots | R Documentation |
Print method for the plot collections returned by model_sizes,
model_pmp, coef_hist and
posterior_dens.
## S3 method for class 'badp_plots'
print(x, which = NULL, ...)
x |
An object of class |
which |
Optional name or position of a single plot to draw instead of
the default figure. A name must be one of |
... |
Additional arguments (currently unused). |
A bare list of ggplot2 objects is auto-printed one element at a time,
so on an interactive device each plot replaces the one before it and only
the last remains visible. These functions therefore return a classed
collection, and this method draws a single figure: the combined plot when
the collection provides one, and otherwise every plot arranged together with
wrap_plots. Individual plots are still reached by
name or position and printed on their own.
Invisibly returns x.
model_sizes, model_pmp,
coef_hist, posterior_dens
data(full_model_space)
results <- bma(full_model_space)
sizes <- model_sizes(results)
sizes # one combined figure
print(sizes, which = "binomial")
names(sizes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.