View source: R/fs_bias_coverage.R
| fs_plot_bias_coverage | R Documentation |
Draws the standard bias-vs-coverage display from a stacked
fs_sim_bias_coverage() table carrying a cell column: (1) one-sided
coverage against b with Gaussian-reference curves Phi(z1 * r - b) for
the given curves values of r; (2) two-sided coverage against b with
curves Phi(z2 * r - b) - Phi(-z2 * r - b); (3) observed coverage against
the Gaussian reference at each point's own (b, r), with the diagonal.
Estimators are distinguished by marker shape, the nominal level by a
dashed line, and cells by text labels.
fs_plot_bias_coverage(
tbl,
labels = TRUE,
curves = c(1, 1.25, 1.5, 2),
level = 0.95,
side = c("lower", "upper")
)
tbl |
Stacked output of |
labels |
Draw cell labels next to the points (default |
curves |
Gaussian-reference |
level |
Nominal level for the reference lines (default 0.95). |
side |
|
A patchwork object of the three ggplot panels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.