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

View source: R/mosquito_RM.R

compute_q.RMR Documentation

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 class 'RM'
compute_q(model, W, Wd, B)

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_{δ})

B

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

Value

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


MicroMoB documentation built on Jan. 17, 2023, 9:06 a.m.