Learn R Programming

demography (version 1.11)

sex.ratio: Compute sex ratios from mortality rates

Description

Calculates the Male/Female ratios from historical or forecasted mortality rates.

Usage

sex.ratio(data)

Arguments

data
Demogdata object of type mortality such as obtained from read.demogdata, or an object of class fmforecast such as the output from

Value

  • Functional time series of sex ratios.

Examples

Run this code
plot(sex.ratio(fr.mort),ylab="Sex ratios (M/F)")

Run the code above in your browser using DataLab