V2_gini_index: V2_gini_index

View source: R/V2_gini_index.R

V2_gini_indexR Documentation

V2_gini_index

Description

This function is used internally to calculate the Gini index.

Usage

V2_gini_index(x, na.rm = FALSE)

Arguments

x

The vector for which to calculate the Gini index.

na.rm

This parameter controls whether NA values are removed from the data prior to calculation. Default is FALSE.

Value

The estimated estimated asymptotic variance of the Gini index.

Author(s)

Bhargab Chattopadhyay Bhargab@iiitvadodara.ac.in, Ken Kelley kkelley@nd.edu

Examples

x <- c(1:4)
V2_gini_index(x)


yelleKneK/SMSD documentation built on Nov. 23, 2022, 6:40 p.m.