filter_ma {psychmeta} | R Documentation |
Filter meta-analyses
Description
Filter psychmeta
meta-analysis objects based on specified criteria.
Usage
filter_ma(
ma_obj,
analyses = "all",
match = c("all", "any"),
case_sensitive = TRUE,
...
)
filter_meta(
ma_obj,
analyses = "all",
match = c("all", "any"),
case_sensitive = TRUE,
...
)
Arguments
ma_obj |
A psychmeta meta-analysis object. |
analyses |
Which analyses to extract? Can be either
|
match |
Should extracted meta-analyses match all (default) or any of the criteria given in |
case_sensitive |
Logical scalar that determines whether character values supplied in |
... |
Additional arguments. |
Value
A psychmeta
meta-analysis object with analyses matching the specified criteria.
Examples
ma_obj <- ma_r(ma_method = "ic", rxyi = rxyi, n = n, rxx = rxxi, ryy = ryyi,
construct_x = x_name, construct_y = y_name, sample_id = sample_id, citekey = NULL,
moderators = moderator, data = data_r_meas_multi,
impute_artifacts = FALSE, clean_artifacts = FALSE)
ma_obj <- ma_r_ad(ma_obj, correct_rr_x = FALSE, correct_rr_y = FALSE)
filter_ma(ma_obj, analyses="all")
filter_ma(ma_obj, analyses=list(construct="X"), match="all")
filter_ma(ma_obj, analyses=list(construct="X", k_min=21), match="any")
filter_ma(ma_obj, analyses=list(construct="X", k_min=21), match="all")