iterate-spop function

Iterate population

Iterate population

Iterate the population for one day methods

iterate(x) <- value ## S4 replacement method for signature 'spop,data.frame' iterate(x) <- value

Arguments

  • x: spop class instant

  • value: data.frame with the following fields

    • death: age-independent daily probability of death
    • death_mean and death_sd: age-dependent daily probability of death (death_sd=0 indicates fixed life time (defined by death_mean))
    • dev: age-independent daily probability of development
    • dev_mean and dev_sd: age-dependent daily probability of development (dev_sd=0 indicates fixed development time (defined by dev_mean))