create_weights_censoc_dmf: Create weights This function will weight the numident...

View source: R/create_weights_censoc_dmf.R

create_weights_censoc_dmfR Documentation

Create weights This function will weight the numident censoc.dmf up to HMD lexis triangles Restrict data to certain cohorts and ages at deaths

Description

Create weights This function will weight the numident censoc.dmf up to HMD lexis triangles Restrict data to certain cohorts and ages at deaths

Usage

create_weights_censoc_dmf(
  censoc.dmf,
  cohorts = c(1895:1939),
  death_ages = c(65:100),
  hmd_path =
    "/data/josh/CenSoc/hmd/hmd_statistics/deaths/Deaths_lexis/USA.Deaths_lexis.txt"
)

Arguments

data

data.frame with birth and death info

Value

data.frame


caseybreen/wcensoc documentation built on Nov. 21, 2024, 5:15 a.m.