fn2: Helper objective function for finding a pair of optimal...

Description Usage Arguments

View source: R/forward_sim.R

Description

Helper objective function for finding a pair of optimal attack-rates for a given pair of starting prevalence rates when the model has an exposure class

Usage

1
fn2(params, Tx, PAR, Bfn, X)

Arguments

params

A pair of attack-rates

Tx

A vector of case-management rates

PAR

A set of model parameters

Bfn

A function for building the matrix represention of the system of equations that update the state vector

X

A pair of prevalence rates


aucarter/pr2ar documentation built on Nov. 3, 2019, 1:59 p.m.