total_fertility_rate {vital}R Documentation

Compute total fertility rate from age-specific fertility rates

Description

Total fertility rate is the expected number of babies per woman in a life-time given the fertility rate at each age of a woman's life.

Usage

total_fertility_rate(.data, fertility)

Arguments

.data

A vital object including an age variable and a variable containing fertility rates.

fertility

Variable in .data containing fertility rates. If omitted, the variable with name fx, Fertility or Rate will be used (not case sensitive).

Value

A vital object with total fertility in column tfr.

Author(s)

Rob J Hyndman

Examples

# Compute Australian total fertility rates over time
aus_fertility |>
  total_fertility_rate()

[Package vital version 1.1.0 Index]