Calculate the prevalence rate and treatment rate for a given attack-rate, model, and set of model parameters

AR2PR(A, Tx, PAR, Bfn)

Arguments

A

A vector 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