plot_coverage: Plot coverage of example simulations

Description Usage Arguments Value

View source: R/plot_sims.R

Description

Plot coverage of example simulations

Usage

1
2
3
plot_coverage(R, simnames, cols, shapes, ltys, legend.names = NULL,
  main = "", proportion = 0.2, y.axis.off = FALSE, y.range = c(0, 1),
  legend.position = c(0.28, 0.4), span = NULL)

Arguments

R

A list produced by example_sim

simnames

Names of CIs to plot. The order they are given will be the plotting order.

cols, shapes

colors and shapes to use.

ltys

Line types.

legend.names

Names to print in legend

main

Title

proportion

Proportion of statistics to output

y.axis.off

Don't label the y axis?

legend.position

Where to put the legend.

span.

Value of span to pass to loess. If present, coverage will be smoothed.

Value

A ggplot object


jean997/rccSims documentation built on May 18, 2019, 11:45 p.m.