gini_index: Gini index

View source: R/heaviness.R

gini_indexR Documentation

Gini index

Description

Gini index

Usage

gini_index(v)

Arguments

v

A numeric vector.

Examples

x = readRDS(system.file("extdata", "ComplexHeatmap_dep.rds", package = "pkgndep"))
gini_index(x$heaviness[x$which_required])

jokergoo/pkgndep documentation built on Aug. 15, 2023, 4:13 a.m.