PR2AR: Master function for converting prevalence rates into...

Description Usage Arguments

View source: R/pr2ar.R

Description

Master function for converting prevalence rates into attack-rates

Usage

1
2
PR2AR(X, Tx, PAR, Bfn = NULL, Xinterval = 365, eq = F,
  showMessages = F, cpp = T)

Arguments

X

A vector of prevalence rates

Tx

A vector of case-management rates

PAR

A set of parameters for the mechanistic model of malaria

Bfn

The model to use

Xinterval

An integer with the number of days between PR observations

eq

Toggle for whether to calculate all attack-rates at equilibrium or to only calculate the initial states at equilibrium and simulate forward

showMessages

Toggle for whether the function prints messages

cpp

A toggle for using the C++ version of the forward simulation algorithm


dd-harp/pr2ar documentation built on May 8, 2020, 1:02 a.m.