make_lorenz: Makes a Lorenz Curve Function out of a income vector

Description Usage Arguments Value

View source: R/lorenz.R

Description

Makes a Lorenz Curve Function out of a income vector

Usage

1
make_lorenz(x, w = NULL)

Arguments

x

A vector of incomes

w

(optional) A vector of sample weights

Value

Returns a function which takes a vector of probabilities as inputs (p) and gives points at the Lorenz Curve as outputs


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