Learn R Programming

sequence (version 2.0)

multMatrans: Converts a list of sequences into a list of transition matrices

Description

Converts a list of sequences into a list of transition matrices. Matrices are square, of same size, and provided as data.frame.

Usage

multMatrans(ser, printdata = FALSE, printdico = TRUE, printmat = FALSE)

Arguments

ser

The list of sequences

printdata

: print the input sequences

printdico

: Prints the dictionary of items

printmat

: Print the list of transition matrices

Value

An object of class lmat

dico

: dictionnary of sequences components

listmat

The list of data.frames

References

Pierre, J. S. and C. Kasper (1990). The Design of Ethological Flow-Charts on Factorial Analysis Representations - an Application to the Study of the Male Mole-Cricket Sexual Courtship. Biology of Behaviour 15(3-4): 125-151.(in french)

Examples

Run this code
# NOT RUN {
data(aphelinus)
aphMat=multMatrans(aphelinus)
aphMat$listmat
# }

Run the code above in your browser using DataLab