The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.