next_state: Next State

Description Usage Arguments Value

View source: R/Infection_Functions.R

Description

Take input infection state and age and return the next infection state and the time spent in that state

Usage

1
next_state(pre.status, age, sex, mort_mult)

Arguments

pre.status

Infection status that has expired

age

age of individual for probability of moving to different states

sex

sex of agent (1-male, 2-female)

mort_mult

multiplier on mortality rate to model improved treatment through time

Value

vector the next state


cmhoove14/LEMMAABMv4 documentation built on Nov. 1, 2021, 10:23 p.m.