Learn R Programming

albopictus (version 0.5)

perturb<-: Iterate population without incrementing age or development

Description

Iterate the population for one day keeping age and development fixed

Usage

perturb(x) <- value

# S4 method for spop,data.frame perturb(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))