LOS_boot: Bootstrap Length of Stay

Description Usage Arguments Value

View source: R/LOS_boot_4CE.R

Description

Function for bootstrap confidence intervals

Usage

1
LOS_boot(data1, days_from_adm)

Arguments

data1

data frame with rows of all possible transitions for which a patient is at risk (i.e. returned data frame from ext_mstate function)

days_from_adm

number of days since admission for which estimation of duration in states is performed

Value

vector with c(1,2,...): non-severe/severe duration estimates for patients non-severe at admission c(...,3,4,...): non-severe/severe duration estimates for patients severe at admission c(...,5): length of severe stay estimates for entire cohort


dyhazard/Phase2.1MultStateModPackage documentation built on Dec. 20, 2021, 2:17 a.m.