seqsep {TraMineR}R Documentation

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

seqsep("ABAAAAAAD")

[Package TraMineR version 2.2-9 Index]