Skip to contents

Reduces length of stay for patients already in service

Usage

dis_los2(long_los)

Arguments

long_los

Float - length of stay (output by dis_los())

Value

Integer - shortened length of stay

Details

Samples from uniform distribution between 1 and the length of stay (produced by dis_los()). Rounds to nearest integer. Assumption: All patients stay at least 1 day.

Examples

dis_los2(18.34)
#> [1] 15