seqstatl: List of distinct states or events (alphabet) in a sequence data set.
Description
Returns a list containing distinct states or events found in a data frame or matrix containing sequence data, the alphabet.
Usage
seqstatl(data, var=NULL, format='STS')
Arguments
data
a data frame or matrix containing sequence data.
var
the list of columns containing the sequences. Default is NULL, i.e. all the columns. Whether the sequences are in the compressed (character strings) or extended format is automatically detected from the number of columns.
format
the format of the sequence data set. One of 'STS', 'SPS', 'DSS'. Default is 'STS'. The seqstatl function uses the seqformat function to translate between formats when necessary.