dependent: Patient-Level Dependent Variables

Description Usage Arguments Value Examples

View source: R/Base_Functions.R

Description

Draw dependent values for patients, ndx, elix, necode, orproc, npr, prior_visit, and hospitalunit, from patient data

Usage

1
dependent(data, npat, age_pat, sex_pat)

Arguments

data

Data to be used

npat

Number of patients

age_pat

Ages of patients

sex_pat

Sexes of patients

Value

A tibble of patients with their individual characteristics

Examples

1
tibble_patients <- dependent(data, npat, age_pat, sex_pat)

PippintheFoolhardy/SimFunctions documentation built on Dec. 18, 2021, 7:43 a.m.