SimplifySequences {RMallow} | R Documentation |
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).
SimplifySequences(loss.time)
loss.time |
Matrix of sequences to be simplified. |
Simplified sequences, as described in Description.
Erik Gregory