powered by

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

filter_u(u_vec, wt_vec)

Vector of u ratios.

Vector of weights corresponding to the elements of u_vec

List of filtered u ratios and weights.

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