create_weights_bunmd_complete: Create weights for BUNMD This function will weight the...

View source: R/create_weights_bunmd_complete.R

create_weights_bunmd_completeR Documentation

Create weights for BUNMD This function will weight the numident file up to HMD lexis triangles Restrict data to deaths from 1988 - 2005 with age_at_death between 65 and 100.

Description

Create weights for BUNMD This function will weight the numident file up to HMD lexis triangles Restrict data to deaths from 1988 - 2005 with age_at_death between 65 and 100.

Usage

create_weights_bunmd_complete(
  bunmd.file,
  dyears = c(1988:2005),
  cohorts = c(1895:1940),
  death_ages = c(65:100),
  complete_cases_vars = c("race_last", "bpl")
)

Arguments

data

data.frame with birth and death info

Value

data.frame


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