gini_index.Rd
Gini index
gini_index(v)
A numeric vector.
x = readRDS(system.file("extdata", "ComplexHeatmap_dep.rds", package = "pkgndep")) gini_index(x$heaviness[x$which_required]) #> [1] 0.6710526