Learn R Programming

psychmeta (version 2.3.4)

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)

Arguments

r_vec

Vector of correlations.

n_vec

Vector of sample sizes.

Value

List of filtered correlations and sample sizes.

Examples

Run this code
# NOT RUN {
## 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