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

View source: R/filters.R

filter_uR Documentation

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)

Arguments

u_vec

Vector of u ratios.

wt_vec

Vector of weights corresponding to the elements of u_vec

Value

List of filtered u ratios and weights.

Examples

## 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))

jadahlke/psychmeta documentation built on Feb. 11, 2024, 9:15 p.m.