trimfill_rma: Trim&fill method for univariate meta analysis

View source: R/galaxy.trimfill.R

trimfill_rmaR Documentation

Trim&fill method for univariate meta analysis

Description

Modified metafor::trimfill.rma.uni to avoid the invalid sqrt in k0 calculation when estimator == "Q0"

Usage

trimfill_rma(
  x,
  side,
  estimator = "L0",
  maxiter = 100,
  method.trim = NULL,
  method.fill = NULL,
  verbose = FALSE,
  ilim
)

Arguments

x

an object of class "rma.uni".

side

the same as in metafor::trimfill

estimator

the same as in metafor::trimfill

maxiter

the same as in metafor::trimfill

method.trim

the model used in rma.uni() for estimating the center when trimming studies, default is x$method

method.fill

the model used in rma.uni() for estimating the center after filling studies, default is x$method

verbose

the same as in metafor::trimfill

ilim

limits for the imputed values as in metafor::trimfill. If unspecified, no limits are used.

Details

It is recommend using fixed-effects for method.trim and random-effects for method.fill when heterogeneity exists.

Value

the same as in metafor::trimfill

Author(s)

Chongliang Luo, Yong Chen


xmeta documentation built on Sept. 8, 2023, 5:36 p.m.