check_wt_type: Check whether wt_type argument is valid and determine which...

View source: R/filters.R

check_wt_typeR Documentation

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


jadahlke/psychmeta documentation built on Feb. 11, 2024, 9:15 p.m.