add: Add model values to a table of meta-analysis results

Description Usage Arguments Value Examples

Description

add_weights() adds study weights to the model. add_residuals() and add_rstandard() add residuals. add_i2(), add_h2(), add_tau2()

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
add_weights(x, .meta = NULL, group = NULL)

add_residuals(x, .meta = NULL)

add_rstandard(x, .meta = NULL)

add_i2(x, .meta = NULL)

add_h2(x, .meta = NULL)

add_tau2(x, .meta = NULL)

add_blups(x, .meta = NULL, exponentiate = FALSE)

Arguments

x

a tidied meta-analysis

.meta

a meta-analysis object. If not NULL, then looks for a meta column in x containing an overall meta-analysis

group

a grouping variable

exponentiate

logical. Should the results be exponentiated?

Value

a tbl

Examples

1
2
3
4
5
6
library(dplyr)

iud_cxca %>%
  group_by(group) %>%
  meta_analysis(, yi = lnes, sei = selnes, slab = study_name) %>%
  add_i2()

malcolmbarrett/tidymeta documentation built on May 30, 2019, 11:42 a.m.