infocentroid: Information-Dense Centroid Metrics

Traditional central tendency and dispersion measures such as the mean and standard deviation can be misleading for multimodal or outlier-contaminated data. This package implements information-theoretic alternatives that weight observations by their local probability density, focusing on the region containing the bulk of the data. The core functions include ic_weights() for kernel density or histogram based entropy weighting, ic_center() and ic_dispersion() for weighted location and spread, ic_combined() for a single information density score between zero and one, and ic_plot() for visualization.

Getting started

Package details

AuthorAhmet Kutuk [aut, cre]
MaintainerAhmet Kutuk <ahmetkutuk@gmail.com>
LicenseMIT + file LICENSE
Version0.1.0
URL https://github.com/ahmetkutuk1/infocentroid 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("infocentroid")

Try the infocentroid package in your browser

Any scripts or data that you put into this service are public.

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