optimA.RdA function for finding the optimal attack-rate for a given prevalence rate
optimA(X, PAR, Bfn)
| X | A prevalence 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 |