cohortSim: Dynamic plot to explore numbers in a cohort over time.

Description Usage Arguments Value Author(s) Examples

View source: R/cohortSim.R

Description

Constructs a plot of the hypothetical number of individuals in a cohort over time. The initial size of the cohort and the instantaneous mortality rate are controlled by slider bars.

Usage

1
cohortSim(age.max = 15)

Arguments

age.max

A single numeric that indicates the maximum age to use in the simulations.

Value

None. An interactive graphic connected to slider controls is produced.

Author(s)

Derek H. Ogle, dogle@northland.edu

Examples

1
2
3
4
5
if (interactive()) {

cohortSim()

} # end if interactive

droglenc/FSAsim documentation built on Feb. 15, 2020, 11:20 p.m.