Learn R Programming

psychmeta (version 2.3.4)

check_wt_type: Check whether wt_type argument is valid and determine which package to use for weights

Description

Check whether wt_type argument is valid and determine which package to use for weights

Usage

check_wt_type(wt_type, generic = FALSE)

Arguments

wt_type

wt_type argument passed to a meta-analysis function

generic

Logical scalar determining whether the effect size is generic (TRUE) or one for which the meta-analysis function estimates error variances (FALSE).

Value

Character object determining which package should be used to compute weights