account_for_nested_missing: Account for Data that is Missing Due to Nesting

Description Usage Arguments Value Examples

View source: R/account_for_nested_missing.R

Description

This function adds entries for variables that are only missing due to nesting - rather than truely being missing. Variables that are adjusted are: cause of death, date of death, starting treatment date, treatment end date, year of BCG vaccination, and time since entry.

Usage

1

Arguments

df

A dataframe containing cleaned ETS data as produced by tbinenglanddataclean.

Value

A dataframe that has nested missingness corrected for a subset of variables

Examples

1
2

seabbs/ETSMissing documentation built on Nov. 22, 2019, 5:08 p.m.