Learn R Programming

DemoDecomp (version 1.14.1)

Decompose Demographic Functions

Description

Three general demographic decomposition methods: Pseudo-continuous decomposition proposed by Horiuchi, Wilmoth, and Pletcher (2008) , stepwise replacement decomposition proposed by Andreev, Shkolnikov and Begun (2002) , and lifetable response experiments proposed by Caswell (1989) .

Copy Link

Version

Install

install.packages('DemoDecomp')

Monthly Downloads

270

Version

1.14.1

License

GPL-3

Maintainer

Tim Riffe

Last Published

September 20th, 2024

Functions in DemoDecomp (1.14.1)

LTabr

an abridged lifetable based on M(x)
R0vec

R0vec Calculates net reproduction, R0, according to a given set of rates Lx,fx and a fixed proportion female of births, pfem.
rates1

Fake data generated for horiuchi example.
Mxc2e0abr

get life expectancy at birth from an (abridged)age-cause matrix
Mxc2e0abrvec

get life expectancy at birth from the vec of an age-cause matrix
horiuchi

Numeric Approximation of Continuous Decomposition
ltre

Caswell's LTRE method of decomposition
stepwise_replacement

implementation of the decomposition algorithm of stepwise replacement
Mxc2

Year 2002 death rates by cause for England and Wales males in abridged age classes
rates2

Fake data generated for horiuchi example.
Mxc1

Year 2002 death rates by cause for US males in abridged age classes