weightsum: Utility function for TRC.R among others

View source: R/modi-internal.R

weightsumR Documentation

Utility function for TRC.R among others

Description

Sum of weights for observations < value (if lt = TRUE) or observations=value (if lt = FALSE).

Usage

weightsum(observations, weights, value, lt = TRUE)

Arguments

observations

vector of observations.

weights

vector of weights.

value

value.

lt

either TRUE or FALSE.

Author(s)

Beat Hulliger


modi documentation built on March 31, 2023, 8:35 p.m.