cohort.sim {FSA}R Documentation

Constructs a plot of the hypothetical number of individuals in a cohort over time.

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

cohort.sim(age.max=15)

Arguments

age.max A numeric indicating the maximum age to use in the simulations.

Details

The slider object has a tendency to “disappear” when focus is put on the plot. The slider object can be brought back to the foreground by finding the object listed on the Windows toolbar. The slider object should be “exit”ed when finished exploring a model.

Value

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

Author(s)

Derek H. Ogle, dogle@northland.edu

Examples

## Not run, because boot.case takes a great deal of time:
## Should work if copied and pasted into console
## Not run: cohort.sim()

[Package FSA version 0.0-13 Index]