ic_weights: Internal Weights Calculation

View source: R/ic_weights.R

ic_weightsR Documentation

Internal Weights Calculation

Description

Computes the entropy-weighted distribution used by the IC metrics.

Usage

ic_weights(x, method = c("hist", "kde"), alpha = NULL, ...)

Arguments

x

A numeric vector.

method

Density estimation method.

alpha

Power parameter for weights.

...

Additional arguments passed to density().

Value

A list of values, weights, entropy, and alpha.


infocentroid documentation built on Nov. 9, 2026, 1:10 a.m.