Learn R Programming

psychmeta (version 2.3.4)

screen_u: Screen to detect impossible values in vectors of u ratios.

Description

Screen to detect impossible values in vectors of u ratios.

Usage

screen_u(u_vec, art_name = "u ratio")

Arguments

u_vec

Vector of u ratios.

art_name

Optional artifact name to use in warning messages.

Value

Does not return values; stops processes if improper values are used.

Examples

Run this code
# NOT RUN {
## Not run
## screen_u(u_vec = c(0, .8), art_name = "ux")
## screen_u(u_vec = c(-1, .8), art_name = "ux")
## screen_u(u_vec = c(Inf, .8), art_name = "ux")
# }

Run the code above in your browser using DataLab