Desatiate: Implement desatiation.

Description Usage Arguments Value Note

Description

Implement desatiation.

Usage

1
2
Desatiate(data.dt, sat.decay, prop.activity = rep(1/length(kActivityStates),
  length(kActivityStates)))

Arguments

data.dt

data.table to update

sat.decay

rate for the geometric decay of satiation

prop.activity

proportion of population assigned to each activity state, given that they are responsive.

Value

invisible(NULL). data.dt is updated by reference.

Note

Satiation has geometric decay with rate sat.decay. Thus, during any time interval, sat.decay proportion of currently satiated individuals desatiate. Individuals put into a responsive state by desatiation are assigned activity states at rates defined by prop.activity.


google/amss documentation built on May 20, 2019, 5:05 p.m.