calc_gini: Calculates the Gini Coefficient

Description Usage Arguments Value

View source: R/calc_gini.R

Description

Calculates the Gini Coefficient

Usage

1
calc_gini(x, w = NULL)

Arguments

x

A vector of a income source

w

(optional) A vector of sample weights

Value

Returns the numeric value of the Gini Coefficient


antrologos/inequalityTools documentation built on May 23, 2021, 11:56 a.m.