Learn R Programming

MicroMoB (version 0.1.2)

set_p_mosquito_RM: Set daily survival probability for Ross-Macdonald mosquito model

Description

Change the daily survival probability parameter p for some times and places. The parameter p is stored internally as a matrix so that times and places are used to modify a submatrix, therefore the new value p should either be a scalar value to update the entire submatrix or a matrix of places rows and times columns.

Usage

set_p_mosquito_RM(model, p, times, places)

Value

no return value

Arguments

model

an object from make_MicroMoB

p

new human blood feeding fraction

times

vector of times to set the new values

places

vector of places to set the new values