multipopulation_plot: Plot incidence with gradual dissemination of screening in a...

Description Usage Arguments Value See Also Examples

Description

Illustrate incidence projections produced as by multipopulation_setting.

Usage

1
2
3
multipopulation_plot(dset, minyear = 0, maxyear = 20, line.size = 0.1,
  minyear.text = 2, maxyear.text = maxyear - 1, text.size = 3,
  text.angle = 30)

Arguments

dset

A data frame as produced by multipopulation_setting.

minyear

Minimum year to display projections.

maxyear

Maximum year to display projections.

line.size

Width of lines to display projections.

minyear.text

Minimum year to display text annotation.

maxyear.text

Maximum year to display text annotation.

text.size

Scale of text annotation.

text.angle

Angle of text annotation.

Value

A ggplot object.

See Also

trial_plot

Examples

1
2
3
4
5
6
7
8
9
library(plyr)
library(reshape)
library(ggplot2)
mpset <- multipopulation_setting()
## Not run: 
mp <- multipopulation_plot(mpset)
print(mp)

## End(Not run)

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