fn: Helper objective function for finding the optimal attack-rate...

Description Usage Arguments

View source: R/forward_sim.R

Description

Helper objective function for finding the optimal attack-rate for a given prevalence rate

Usage

1
fn(A, PAR, Bfn, X)

Arguments

A

An attack-rate

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 prevalence rate


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