prep_dx_hospitalizations: Produce hospitalization occupation over time

Description Usage Arguments Value

View source: R/02_hospital_model_functions.R

Description

prep_dx_hospitalizations computes both incident hospitalizations and prevalence in hospital also by Non ICU and ICU, and age groups.

Usage

1
prep_dx_hospitalizations(l_out_cosmo, use_prevalence = FALSE)

Arguments

l_out_cosmo

List with output from SC-COSMO and all parameters.

use_prevalence

Flag (default is FALSE) of whether to use prevalence as input to hospitalization model. If FALSE, incidence is used instead of prevalence.

Value

A list of incident hospitalizations by type (Tot , Non ICU, or ICU), age group (including All), and time and of prevalent hospitalizations by type (Tot , Non ICU, or ICU), age group (including All), and time.


SC-COSMO/sccosmomcma documentation built on Dec. 18, 2021, 11:56 a.m.