CleanWeights {scdensity}R Documentation

Clean out near-zeros from a probability weights vector and re-normalize

Description

Clean out near-zeros from a probability weights vector and re-normalize

Usage

CleanWeights(w)

Arguments

w

A vector of probability weights

Value

A vector with the near-zeros removed, still summing to 1.


[Package scdensity version 1.0.3 Index]