Returns a linear weighting function to be used inside accessibility calculating functions.
This function is generic over any kind of numeric travel cost, such as distance, time and money.
numeric vector. Indicates the travel cost cutoffs until
which the weighting factor decays linearly. From this point onward the
weight is equal to 0.
function that takes a generic travel cost vector (
an input and returns a
list of weight vectors (a list of
vectors, named after the arguments passed to the decay function).