RDocumentation
Moon
Learn R
Search all packages and functions
DemoDecomp (version 1.0.1)
Decompose Demographic Functions
Description
Two general demographic decomposition methods are offered: Pseudo-continuous decomposition proposed by Horiuchi, Wilmoth, and Pletcher (2008)
and stepwise replacement decomposition proposed by Andreev, Shkolnikov and Begun (2002)
.
Copy Link
Copy
Link to current version
Version
Version
1.0.1
Down Chevron
Install
install.packages('DemoDecomp')
Monthly Downloads
162
Version
1.0.1
License
GPL-3
Maintainer
Tim Riffe
Last Published
August 14th, 2018
Functions in DemoDecomp (1.0.1)
Search functions
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 example.
rates2
Fake data generated for example.
Mxc2e0abr
get life expectancy at birth from an (abridged)age-cause matrix
Compare
Comparison decomposition results by age and cause
Mxc2e0abrvec
get life expectancy at birth from the vec of an age-cause matrix
LTabr
an abridged lifetable based on M(x)
Mxc1
Year 2002 death rates by cause for US males in abridged age classes
Mxc2
Year 2002 death rates by cause for England and Wales males in abridged age classes
stepwise_replacement
implementation of the decomposition algorithm of stepwise replacement
horiuchi
Numeric Approximation of Continuous Decomposition