Returns a binary weighting function (frequently used to calculate cumulative opportunities measures) to be used inside accessibility calculating functions.
This function is generic over any kind of numeric travel cost, such as distance, time and money.
decay_binary(cutoff)
A numeric
vector. The numbers indicating the travel cost
cutoffs.
A function
that takes a generic travel cost vector (numeric
) as
an input and returns a list
of weight vectors (a list of numeric
vectors, named after the arguments passed to the decay function).
Other decay functions:
decay_exponential()
,
decay_linear()
,
decay_logistic()
,
decay_power()
,
decay_stepped()