Learn R Programming

psychmeta (version 2.6.5)

filter_u: Filter to remove impossible values from vectors of u ratios and corresponding weights.

Description

Filter to remove impossible values from vectors of u ratios and corresponding weights.

Usage

filter_u(u_vec, wt_vec)

Value

List of filtered u ratios and weights.

Arguments

u_vec

Vector of u ratios.

wt_vec

Vector of weights corresponding to the elements of u_vec

Examples

Run this code
## Not run
## filter_u(u_vec = c(0, .8), wt_vec = c(80, 100))
## filter_u(u_vec = c(.7, .8), wt_vec = c(-80, 100))

Run the code above in your browser using DataLab