Learn R Programming

pda (version 1.2.7)

LOS: Length of Stay data

Description

A simulated data set of hospitalization Length of Stay (LOS) from 3 sites

Usage

LOS

Arguments

Format

A data frame with 1000 rows and 5 variables:

site

site id, 500 'site1', 400 'site2' and 100 'site3'

age

3 categories, 'young', 'middle', and 'old'

sex

2 categories, 'M' for male and 'F' for female

lab

lab test results, continuous value ranging from 0 to 100

los

LOS in days, ranging from 1 tp 28. Treated as continuous outcome in DLM