Learn R Programming

demography (version 1.20)

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 forecast.fdm or forecast.lca.

Value

Functional time series of sex ratios.

Examples

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

Run the code above in your browser using DataLab