plot_over_self {hbamr} | R Documentation |
Plot individual parameter estimates over self-placements
Description
Create a boxplot of individual parameter point estimates from an HBAM model over self-placements
Usage
plot_over_self(
object,
par = "chi",
estimate = "median",
names = NULL,
parlabel = NULL,
fill = "#2166AC",
color = "#053061",
width = 0.7,
alpha = 0.5,
outlier.size = 0.3,
median_color = "black",
median_lwd = 0.7
)
Arguments
object |
An object of class |
par |
Character: Name of the parameter to be plotted. One of the following: |
estimate |
Character: Specifying which type of posterior point estimate to use. One of |
names |
An optional character vector of model names of same length as the supplied list of models. |
parlabel |
An optional character containing an alternative label for the parameter (will be parsed if passed as an expression). |
fill |
Fill color of boxes. Passed on to |
color |
Color of outer lines. Passed on to |
width |
Width of boxes. Passed on to |
alpha |
Number in [0,1]: Inverse level of transparency for fill color. |
outlier.size |
Size of dots representing outliers. Passed on to |
median_color |
Color of solid line representing the median. |
median_lwd |
Thickness of solid line representing the median. |
Value
A ggplot
object.