dh.metaManual: Wrapper to manaully perform two-stage meta-analysis using...

View source: R/meta-manual.R

dh.metaManualR Documentation

Wrapper to manaully perform two-stage meta-analysis using metafor

Description

DataSHIELD SLMA functions automatically perform two-stage meta-analysis using the metafor package. However in some circumstances you might want to chose different options in metafor than those provided within DataSHIELD. This function takes the output from ds.glmSLMA and manually performs the meta-analysis.

Usage

dh.metaManual(model = NULL, method = "ML")

Arguments

model

Model object returned by ds.glmSLMA or ds.lmerSLMA.

method

Method of meta-analyis which can be any valid method for the metafor package. Default is "ML".

Details

You could also modify this function to use different meta-analysis packages.

Value

List containing two elements:

  • metafor output

  • summary tibble of containing columns "term", "coefficient" and "se".


lifecycle-project/ds-cs-functions documentation built on Nov. 18, 2024, 3:36 p.m.