transformed_zscore: Transformation function for z-scoring

Description Usage Arguments Value

View source: R/od_adjustment.R

Description

Internal function to perform the transformations for data types.

Usage

1
2
3
4
5
transformed_zscore(
  mod_plot_agg = mod_plot_agg,
  data_type = "SR",
  sr_method = "SHMI"
)

Arguments

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.

Value

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


FunnelPlotR documentation built on Sept. 30, 2021, 5:07 p.m.