md.D: Prepare compatible demographic information

Description Usage Arguments See Also

View source: R/exports.R

Description

Utility function that returns a data.frame containing basic demographic information compatible with the md.survnp, md.survcox and md.impute functions.

Usage

1
md.D(age, sex, year)

Arguments

age

vector of patient ages specified as number of days or number of years.

sex

vector containing 1 for males and 2 for females

year

vector of years of entry into the study can either be supplied as vector of start dates or as vector of years specified in number of days from origin (1-1-1970).

See Also

md.survcox, md.survnp


missDeaths documentation built on Oct. 23, 2020, 6:39 p.m.

Related to md.D in missDeaths...