Skip to contents

Wrapper to prepare data for Hedges G

Usage

hedges_g(dat, reference_val, safe_mode = FALSE, ...)

Arguments

dat

data.table. The analysis data set.

reference_val

character. The reference value of the treatment variable in the data.

safe_mode

Boolean determining if the function should fail when given input that cannot be calculated (safe_mode = TRUE), or if it should silently return a NA value (default

...

optional arguments to

Value

A list containing Hedges G statistics.