gini_access: Compute the Gini coefficient for a raster

Description Usage Arguments Details

View source: R/accessdiff.R

Description

Compute the Gini coefficient for a raster

Usage

1
gini_access(tiff, weight_tiff = NULL, ...)

Arguments

tiff

A Conveyal tiff with accessibility scores.

weight_tiff

A Conveyal raster layer containing origin-side opportunities to use for weighting.

...

Arguments passed on to ineq::ineq

x

a vector containing at least non-negative elements

parameter

parameter of the inequality measure (if set to NULL the default parameter of the respective measure is used)

type

character string giving the measure used to compute inequality. must be one of the strings in the default argument (the first character is sufficient). defaults to "Gini".

na.rm

logical. Should missing values (NAs) be removed prior to computations? If set to FALSE the computations yield NA.

Details

The [Gini coefficient](https://en.wikipedia.org/wiki/Gini_coefficient) is a measure of inequality usually applied to income. In the case of transit accessibility, Gini values closer to 1 imply that some areas have high-quality access while most have none. This serves as a wrapper to ineq


transportfoundry/tvmeasures documentation built on May 22, 2019, 10:57 p.m.