View source: R/od_adjustment.R

transformed_zscore | R Documentation |

Internal function to perform the transformations for data types.

```
transformed_zscore(
mod_plot_agg = mod_plot_agg,
data_type = "SR",
sr_method = "SHMI"
)
```

`mod_plot_agg` |
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, can take the value \"SHMI\" or \"CQC\". \"SHMI\" is default. |

A data.frame of original, aggregated data plus transformed z-score (unadjusted for overdispersion)

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.