Description Usage Arguments Value See Also Examples
Illustrate incidence projections produced as by
multipopulation_setting
.
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)
|
dset |
A data frame as produced by |
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. |
A ggplot object.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.