R: Many Gini coefficients

Many Gini coefficients {Rfast} | R Documentation

## Many Gini coefficients

### Description

Many Gini coefficients.

### Usage

    ginis(x)

### Arguments

`x` | A matrix with non negative data. The rows are observations and the columns denote the variables.

### Details

We have implemented the fast version of the Gini coefficient. See wikipedia for more details.

### Value

A vector with the Gini coefficient, one for each variable.

### Author(s)

Michail Tsagris

R implementation and documentation: Michail Tsagris <mtsagris@yahoo.gr> and Manos Papadakis <papadakm95@gmail.com>.

### See Also

`colskewness, colmeans, corpairs`

### Examples

    x <- matrix( rpois(500 * 1000, 1000), ncol = 1000 )
    a <- ginis(x)

[Package Rfast version 2.0.0 Index]