Learn R Programming

DemoDecomp (version 1.0.1)

rates1: Fake data generated for example.

Description

The first column Lx is a discrete survival function for time point 1. The second column Fx are age specific fertility rates.

Usage

rates1

Arguments

Format

An object of class matrix with 101 rows and 2 columns.

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