mortalityData-class: mortalityData

Description Details

Description

representation of a dataset that contains

Details

name

the dataset's name

age.offset

the amount to add to the age column of data in order to obtain the actual ages. For example, the ages in data might range from 1 to 20 and represent ages 80 to 99; in that case, age.offset would be 79

age.interval.width

the width, in years, of each age interval. for now, this is always assumed to be 1. future versions may accommodate different age intervals.

data

a data.frame with at least three columns:

age

the age (last birthday)

Nx

the amount of exposure at the given age

Dx

the number of deaths at the given age

tags

a list whose key/value entries can be used to store metadata; useful for grabbing subsets of a big database. For example, this might have list(country=\"belgi\", sex=\"m\")


dfeehan/mortfit documentation built on Nov. 14, 2020, 9:04 p.m.