Cdeath.MN.func: Nested mosquito death sampler (due to vector control)

Description Usage Arguments Details Examples

View source: R/CdeathMNFunc.R

Description

Only for use within multinom()

Usage

1
Cdeath.MN.func(mos_Es, probs)

Arguments

mos_Es

Matrix or vector, matrix = exposed but not yet infectious mosquitoes that have not yet completed their EIP, vector = infectious mosquitoes

probs

vector, patch-specific daily probability mosqutio dies due to reactive vector control

Details

Returns a matrix of dead mosquitoes

Examples

1
2
3
4
5
6
7
mos_Es = matrix(round(runif(100, 0, 10), 0), nrow = 10, ncol = 10)
probs <- c(rep(0.5, 5), rep(0, 5))
Cdeath.MN.func(mos_Es, probs)

# infectious mosquitoes
mos_Is = round(runif(10, 0, 10), 0)
Cdeath.MN.func(mos_Is, probs)

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