alphabet {TraMineR} | R Documentation |
Retrieve the alphabet of a sequence object, that is, the list of all possible states (some states may not appear in the data).
alphabet(seqdata)
seqdata |
a sequence object (see seqdef function). |
a vector containing the alphabet (states).
## 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)