EIP.MN.func: Nested EIP completion sampler

Description Usage Arguments Details Examples

View source: R/EIPMNFunc.R

Description

Only for use within multinom()

Usage

1
EIP.MN.func(mos_Es, probs)

Arguments

mos_Es

Matrix, exposed but not yet infectious mosquitoes that have not yet died

probs

Function, giving the probability of completing EIP on a given day

Details

Returns a matrix of newly infectious mosquitoes

Examples

1
2
3
mos_Es = matrix(round(runif(100, 0, 10), 0), nrow = 10, ncol = 10)
probs <- function(times) plnorm(times, meanlog = log(7), sdlog = 0.21)
EIP.MN.func(mos_Es, probs)

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