powered by
Takes a set of (value, weight) pairs and converts into unweighted vector (w[i]) for each i Weights are assumed to be integers
expand(x, w)
new unweighted vector of scores
Numeric vector of scores.
Numeric vector of weights. These are assumed to be integers