Learn R Programming

MicroMoB (version 0.1.2)

compute_q.RM: Compute human blood feeding fraction for RM model (\(q\))

Description

This method simply returns the q parameter of the mosquito object, because the RM model assumes a constant fraction of blood meals are taken on human hosts.

Usage

# S3 method for RM
compute_q(model, W, Wd, B)

Value

a vector of length p giving the proportion of bites taken on human hosts in each patch

Arguments

model

an object from make_MicroMoB

W

a vector of length p giving human availability by patch (\(W\))

Wd

a vector of length p giving visitor availability by patch (\(W_{\delta}\))

B

a vector of length p giving total blood host availability by patch (\(B\))