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

Description Usage Arguments Value

View source: R/quantile.R

Description

Makes a Lorenz Curve Function out of a income vector

Usage

1

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.