Learn R Programming

DemoDecomp (version 1.14.1)

rates2: Fake data generated for horiuchi example.

Description

These are used to calculate the net reproductive ratio (NRR)

Usage

rates2

Arguments

Format

numeric vector of hypothetical fertility and mortality rates

Lx

a discrete survival function at time point 2

Fx

age specific fertility rates at time point 2

Examples

Run this code
if (FALSE) {
data(rates1)
data(rates2)
# nothing fancy
# compare Lx
plot(rates1[,1],type='l',col="blue")
lines(rates2[,1],col="green")
# compare Fx
plot(rates1[,2],type='l',col="blue")
lines(rates2[,2],col="green") 
}

Run the code above in your browser using DataLab