make_cdf: Makes a Cumulative Distribution Function (CDF) out of a...

Description Usage Arguments Value

View source: R/make_cdf.R

Description

Makes a Cumulative Distribution Function (CDF) out of a income vector

Usage

1
make_cdf(x, w = NULL)

Arguments

x

A vector of a income source

w

(optional) A vector of sample weights

Value

Returns a function which takes a vector of incomes as inputs (p) and gives points at the CDF as outputs


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