transformed_zscore: Transformation function for z-scoring

View source: R/od_adjustment.R

transformed_zscoreR Documentation

Transformation function for z-scoring

Description

Internal function to perform the transformations for data types.

Usage

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 June 7, 2023, 6:04 p.m.