# generic methods for IRS
#' @title Do mass house spraying (IRS)
#' @description This method dispatches on the type of `pars$IRS`.
#' @param t current simulation time
#' @param pars a [list]
#' @return a [list]
#' @export
SprayHouses <- function(t, pars) {
UseMethod("SprayHouses", pars$IRS)
}
#' @title Model the effects of IRS
#' @description This method dispatches on the type of `pars$IRS`.
#' @param t current simulation time
#' @param pars a [list]
#' @return a [list]
#' @export
IRS_Effects <- function(t, pars) {
UseMethod("IRS_Effects", pars$IRS)
}
#' @title Model IRS effect sizes
#' @description This method dispatches on the type of `pars$IRS`.
#' @param t current simulation time
#' @param pars a [list]
#' @return a [list]
#' @export
IRS_EffectSizes <- function(t, pars) {
UseMethod("IRS_EffectSizes", pars$IRS)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.