Welcome to ClientVPS Mirrors

Dominance Index for Nominal Variables

Dominance Index for Nominal Variables

library(nomiShape)

Dominance Index for Nominal Variables

This vignette demonstrates how to compute the dominance index for nominal variables using the dominance_index function from the nomiShape package. The dominance index quantifies the degree to which a few categories dominate the distribution of a nominal variable.

Computing Dominance Index

# Example usage of dominance_index
dominance_index(categories, "animal")
#> [1] 0.091712
# Example usage of dominance_index
dominance_index(categories2, "animal")
#> [1] 0.113056
# Example usage of dominance_index
dominance_index(categories3, "animal")
#> [1] 0.295584

Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.

This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.