alphabet {TraMineR}R Documentation

Retrieve the alphabet of a sequence object

Description

Retrieve the alphabet of a sequence object, that is, the list of all possible states (some states may not appear in the data).

Usage

alphabet(seqdata)

Arguments

seqdata a sequence object (see seqdef function).

Value

a vector containing the alphabet (states).

See Also

seqdef

Examples

## Creating a sequence object with the columns 13 to 24 
## in the 'actcal' example data set
data(actcal)
actcal.seq <- seqdef(actcal,13:24)

## Retrieving the alphabet
alphabet(actcal.seq)

[Package TraMineR version 1.0 Index]