natdeath.MN.func: Nested mosquito death sampler

Description Usage Arguments Details Examples

View source: R/NatdeathMNFunc.R

Description

Only for use within multinom()

Usage

1
natdeath.MN.func(mos_Es, probs)

Arguments

mos_Es

Matrix, exposed but not yet infectious mosquitoes that have not yet completed their EIP

mospdeath

single value between 0 and 1, the daily probability of mosquito mortality

Details

Returns a matrix of dead mosquitoes

Examples

1
2
3
mos_Es = matrix(round(runif(100, 0, 10), 0), nrow = 10, ncol = 10)
probs <- function(x) rbeta(x, shape1 = 26.84987, shape2 = 107.3995)
natdeath.MN.func(mos_Es, probs)

obrady/SpatialDengue documentation built on Nov. 27, 2020, 12:13 p.m.