Plot estimator bias across simulation settings
plot_bias.RdPlot estimator bias across simulation settings
Usage
plot_bias(
data,
facet_formula,
title = "Estimator Bias",
subtitle = "",
linetype_var = NULL,
use_aggregate = FALSE,
x_breaks = NULL,
point_size = 1.5
)Arguments
- data
A data frame containing summary statistics per configuration.
- facet_formula
A faceting formula (e.g.
q0_lab ~ q1_lab).- title
Plot title.
- subtitle
Plot subtitle.
- linetype_var
Optional name of a column in
datathat controls line type. IfNULL, all lines are solid.- use_aggregate
Logical; whether to use a larger theme suitable for aggregate plots with many legend entries.
- x_breaks
Optional numeric vector of breaks for the x-axis.
- point_size
Point size for the scatter overlay.