pat_los: Patient-Level Length of Stay Variable Generation

Description Usage Arguments Value Examples

View source: R/Base_Functions.R

Description

Calculate length of stay for individual agents based on age, sex, OR procedure, and CDI status

Usage

1
pat_los(data_one, data_two, npat)

Arguments

data_one

Data for all patients

data_two

Tibble of data only for patients to be used in this model

npat

Number of patients in the tibble of patients

Value

An updated tibble of patients with a new length of stay column

Examples

1
complete_tibble_patients <- pat_los(data_one, data_two, npat)

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