plot.paramDemo {paramDemo}R Documentation

Functions to plot parametric demographic functions

Description

Draw a plot of demographic functions produced with function CalcDemo

Usage

## S3 method for class 'paramDemo'
plot(x, demofun = "all", ...)

Arguments

x

Object of class “paramDemo

demofun

Character string for the demographic function to be ploted

...

Additional arguments passed to function plot

Value

No return value, called for plotting objects of class “paramDemo

Author(s)

Fernando Colchero fernando_colchero@eva.mpg.de

See Also

CalcDemo to calculate parametric demographic functions.

Examples

# Create paramDemo object from Gompertz mortality and
# quadratic fertility:
dem <- CalcDemo(theta = c(b0 = -5, b1 = 0.1), 
                 beta = c(b0 = 0.5, b1 = 0.01, b2 = 10),
                 summarStats = TRUE, agesAR = c(5, 10))

# Plot demographic object:
plot(dem)


[Package paramDemo version 1.0.1 Index]