Measure distance between current and previous state in terms of RDI

distanceRDI(current, previous)

Arguments

current

A named list with entries n, n_pp, n_other and rates describing the current state

previous

A named list with entries n, n_pp, n_other and rates describing the previous state

Value

A number expressing a distance between current and previous state.