trial_plot: Plot incidence in a randomized trial.

Description Usage Arguments Value See Also Examples

Description

Illustrate incidence projections produced as by trial_setting.

Usage

1
trial_plot(dset, minyear = 0, maxyear = 12)

Arguments

dset

A data frame as produced by multipopulation_setting.

minyear

Minimum year to display projections.

maxyear

Maximum year to display projections.

Value

A ggplot object.

See Also

multipopulation_plot

Examples

1
2
3
4
5
6
7
8
9
library(plyr)
library(reshape)
library(ggplot2)
tset <- trial_setting()
## Not run: 
tp <- trial_plot(tset)
print(tp)

## End(Not run)

roman-gulati/overdiag documentation built on May 27, 2019, 1:49 p.m.