weightsum {modi}R 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


[Package modi version 0.1.2 Index]