Converts pooled or study level estimates back to their natural scale:
exponentiation for log ratios, the inverse Fisher transformation for
"ZCOR" and the inverse logit for "PLO". Other measures are returned
unchanged.
Usage
meta_transform(
.data,
measure = NULL,
cols = c("estimate", "conf.low", "conf.high")
)Arguments
- .data
A
<meta_fit>or a data frame.- measure
The effect size measure. Taken from the fit when
.datais a<meta_fit>.- cols
<
tidy-select> Columns to transform. Defaults toestimate,conf.lowandconf.high.
Examples
bcg <- meta_effect_size(bcg_trials, "RR",
event1 = tpos, n1 = tpos + tneg, event2 = cpos, n2 = cpos + cneg
)
meta_pool(bcg) |> meta_transform()
#> # A tibble: 1 × 7
#> term estimate std.error statistic p.value conf.low conf.high
#> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 overall 0.489 0.180 -3.97 0.0000705 0.344 0.696