Learn R Programming

psychmeta (version 2.6.5)

filter_r_bar: Filter to detect and remove impossible values in vectors of meta-analytic mean correlations and numbers of studies

Description

Filter to detect and remove impossible values in vectors of meta-analytic mean correlations and numbers of studies

Usage

filter_r_bar(r_bar_vec, k_vec)

Value

List of filtered correlations and numbers of studies.

Arguments

r_bar_vec

Vector of meta-analytic mean correlations.

k_vec

Vector of numbers of studies (k values).

Examples

Run this code
## Not run
## filter_r_bar(r_bar_vec = c(-.3, .5, 1.1), k_vec = c(100, 100, 100))
## filter_r_bar(r_bar_vec = c(-.3, .5, .8), k_vec = c(Inf, 100, 100))
## filter_r_bar(r_bar_vec = c(-.3, .5, .8), k_vec = c(2, 100, 100))

Run the code above in your browser using DataLab