The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

albopictus

Age-Structured Population Dynamics Model

Installation

The R package can be installed from the command line,

R CMD install albopictus_x.x.tar.gz

to be loaded easily at the R command prompt.

library(albopictus)

Usage

Generate a population with stochastic dynamics

s <- spop(stochastic=TRUE)

Add 1000 20-day-old individuals

add(s) <- data.frame(number=1000,age=20)

Iterate one day without death and assume development in 20 (+-5) days

iterate(s) <- data.frame(dev_mean=20,dev_sd=5,death=0)
print(developed(s))

Iterate another day assuming no development but age-dependent survival. Let each individual survive for 20 days (+-5)

iterate(s) <- data.frame(death_mean=20,death_sd=5,dev=0)
print(dead(s))

Note that the previous values of developed and dead will be overwritten by this command

Generate a deterministic population and observe the difference

s <- spop(stochastic=FALSE)
add(s) <- data.frame(number=1000,age=20)

iterate(s) <- data.frame(dev_mean=20,dev_sd=5,death=0)
print(developed(s))

iterate(s) <- data.frame(death_mean=20,death_sd=5,dev=0)
print(dead(s))

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.