| aggAR | Aggregates attack-rates from time step to annual |
| AR2PR | Calculate the prevalence rate and treatment rate for a given... |
| AR2PRopt | Helper function for finding the maximum prevelance for a... |
| findAXmax | Finds the maximum prevalence and associated attack-rate for a... |
| findYeq | Calculates the equilibrium Y for a given attack-rate and... |
| fn | Helper objective function for finding the optimal attack-rate... |
| fn2 | Helper objective function for finding a pair of optimal... |
| interpRates | Interpolate a vector of rates to match the model time step |
| makeB | A function for making the matrix representation of the simple... |
| makeBage | A function for making the matrix representation of the age of... |
| makeBdrugs | A function for making the matrix representation of the simple... |
| makeBdrugs_age | A function for making the matrix representation of the age of... |
| makeD | Generic function for making the D matrix that maps the state... |
| makeV | Generic function for making the W matrix associated an input... |
| makeW | Generic function for making the W matrix associated an input... |
| optimA | A function for finding the optimal attack-rate for a given... |
| plotAR2PR | Make plots showing the relationship between AR and PR for a... |
| PR2AR | Master function for converting prevalence rates into... |
| PR2AReq | Finds the equilibrium attack-rates for an input vector of... |
| simAR | Generic forward simulation function that can accomdate models... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.