Learn R Programming

TraMineR (version 2.2-10)

seqsep: Adds separators to sequences stored as character string

Description

Adds separators to sequences stored as character string.

Usage

seqsep(seqdata, sl=1, sep="-")

Arguments

seqdata

a dataframe or matrix containing sequence data, as vectors of states or events.

sl

the length of the states (the number of characters used to represent them). Default is 1.

sep

the character used as separator. Set by default as "-".

See Also

seqdecomp.

Examples

Run this code
seqsep("ABAAAAAAD")

Run the code above in your browser using DataLab