Learn R Programming

psychmeta (version 2.6.5)

screen_r: Screen to detect impossible values in vectors of correlations and sample sizes.

Description

Screen to detect impossible values in vectors of correlations and sample sizes.

Usage

screen_r(r_vec, n_vec)

Value

List of filtered correlations and sample sizes.

Arguments

r_vec

Vector of correlations.

n_vec

Vector of sample sizes.

Examples

Run this code
## Not run
## screen_r(r_vec = c(-.3, .5, 1.1), n_vec = c(100, 100, 100))
## screen_r(r_vec = c(-.3, .5, .8), n_vec = c(Inf, 100, 100))
## screen_r(r_vec = c(-.3, .5, .8), n_vec = c(2, 100, 100))

Run the code above in your browser using DataLab