mattrans: Creates of a succession matrix

Description Usage Arguments Details Value Note Author(s) See Also Examples

Description

Creates a succession matrix of order 1 from an object of class sequence.

Usage

1
mattrans(x, dico = NULL, print = FALSE)

Arguments

x

Cseq: sequence

dico

character: list of items codes

print

logical: print the matrix. Default = FALSE

Details

Creates a succession, not a transition matrix. Integer numbers (frequencies) and not conditional probabilities. Function used by compseq

Value

a matrix: the succession matrix.

Note

Not supposed to be used alone; if needed, the user is invited to use rather matrcom

Author(s)

Jean-Sebastien Pierre Jean-sebastien.pierre@univ-rennes1.fr

See Also

compseq ,matrcom

Examples

1
2

sequence documentation built on March 26, 2020, 7:30 p.m.