make_lorenz_fromMeansByStrata: Makes a Lorenz Curve Function using information about means...

Description Usage Arguments Value

Description

Makes a Lorenz Curve Function using information about means and size of income strata

Usage

1
2
3
4
5
6
make_lorenz_fromMeansByStrata(
  group_size,
  group_means,
  combine_function = "mean",
  precision = 5e-05
)

Arguments

group_size

A numerical vector informing the size (i.e population of proportion) of each group

group_means

A numerical vector informing the mean income of each group. Must have the same number of elements tha 'group_size'

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.