gini_index: Gini index

Description Usage Arguments Examples

View source: R/stat.R

Description

Gini index

Usage

1

Arguments

v

A numeric vector.

Examples

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

pkgndep documentation built on Nov. 10, 2021, 5:08 p.m.