seqTrans function

Spotting impossible transitions in longitudinal categorical data