SimplifySequences: Change the form of ordered sequences.
Description
Simplifies sequences so that each tie group is only of
distance 1 to the next tie group. For example, we would
simplify (1, 1, 2, 4, 4, 5) to (1, 1, 2, 3, 3, 4).
Usage
SimplifySequences(loss.time)
Arguments
loss.time
Matrix of sequences to be simplified.
Value
Simplified sequences, as described in Description.