fert_net: Compute net reproductive rate from age-specific fertility...

View source: R/fert_helper_functions_wpp.R

fert_netR Documentation

Compute net reproductive rate from age-specific fertility rates, sex ratio at birth and female life table nLx

Description

This function computes the net reproductive rate from the age-specific fertility rates and sex ratio at birth and female life table nLx of a given period.

Usage

fert_net(fert_data_age, srb, nLx, byvar)

Arguments

fert_data_age

data frame. columns "age_start" and "age_span" describe age group of mother and "value" is age-specific fertility rates in births per woman.

srb

data frame. column "value" is the sex ratio at birth

nLx

data frame. columns "age_start" and "age_span" describe age group of mother and "value" is the nLx column of the period life table for females

byvar

character. string of column names in fert_data_age, srb and nLx by which NRR will be computed.

Details

accomodates any width of age interval (age_span) so long as it is constant over age. Assumes radix (l0) = 100000.

Value

a data frame with net reproductive rate in the "value" field, computed by byvar columns.

Author(s)

Sara Hertog


markalava/ccmppWPP documentation built on April 21, 2022, 12:36 a.m.