plotAR2PR.RdMake plots showing the relationship between AR and PR for a number of different Tx levels
plotAR2PR(PAR, Bfn, AR_range = c(0.01, 1), logX = T, logY = F, plotC = T, plotXover1_C = F)
| PAR | Model parameters |
|---|---|
| Bfn | Function for the model |
| AR_range | Min and max of the range of AR plotted |
| logX | Toggle for taking the log of the x-axis |
| logY | Toggle for taking the log of the y-axis |
| plotC | Toggle for plotting the proportion treated |
| plotXover1_C | Toggle for plotting PR relative to those not on Tx |