Learn R Programming

TraMineR (version 1.6-2)

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 to 1.
sep
the character used as separator. Set by default to "-".

See Also

seqdecomp.

Examples

Run this code
seqsep("ABAAAAAAD")

Run the code above in your browser using DataLab