seqsep: Adds separators to sequences stored as character string

seqsepR 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")

TraMineR documentation built on May 29, 2024, 5 a.m.