Description Usage Arguments Value

View source: R/calculate_limits.R

Add 95

1 2 3 4 5 6 7 8 9 | ```
calculate_limits(
dfCI = dfCI,
data_type = "SR",
sr_method = "SHMI",
multiplier = 1,
tau2 = 0,
target = target,
draw_adjusted = draw_adjusted
)
``` |

`dfCI` |
Aggregated model input data |

`data_type` |
Type of data for adjustment and plotting: Indirectly Standardised ratio (\"SR\"), proportion (\"PR\"), or ratio of counts (\"RC\"). |

`sr_method` |
Adjustment method for standardised ratios, can take the value \"SHMI\" or \"CQC\". \"SHMI\" is default. |

`multiplier` |
Multiplier to adjust limits if reporting by a multiplier, e.g. per 1000. |

`tau2` |
A 'between' standard deviation to add to the within standard deviation, S, to inflate limits. |

`target` |
The centre line of the plot. Mean for non-SRs or 1 for SR |

A data.frame of with appended OD limits

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.