powered by
Creates a succession matrix of order 1 from an object of class sequence.
sequence
mattrans(x, dico = NULL, print = FALSE)
Cseq: sequence
character: list of items codes
logical: print the matrix. Default = FALSE
a matrix: the succession matrix.
Creates a succession, not a transition matrix. Integer numbers (frequencies) and not conditional probabilities. Function used by compseq
compseq
compseq ,matrcom
matrcom
# NOT RUN { data(seriseq) mattrans(unlist(seriseq)) # }
Run the code above in your browser using DataLab