Skip to contents

Thin extender over DescTools::Gini for the Gini index of (in)equality on a non-negative numeric vector.

Usage

morie_desc_gini(x, ...)

Arguments

x

A non-negative numeric vector.

...

Further arguments forwarded to DescTools::Gini (e.g. weights, unbiased, conf.level, na.rm).

Value

A list with $method = "DescTools::Gini" and $raw (the Gini estimate, optionally with CI).