regime_distance
scales each regime parameter and then calculates distance
between scaled regime_pars1
and regime_pars2
.
regime_distance(regime_pars1, regime_pars2)
a numeric vector representing a regime.
a numeric vector representing another regime, same length as regime_pars1
Returns "distance" between regime_pars1
and regime_pars2
. Values are scaled
before calculating the "distance". Read the source code for details.