Convert transition matrix from mstate to etm format

trans2tra(trans)

Arguments

trans

Transition matrix in mstate format