Returns the number of episodes in the states.
seqinepi(seqdata)
a sequence object (see seqdef function).
seqdef
Nicolas Robette
Gabadinho, A., G. Ritschard, N. S. Müller and M. Studer (2011). Analyzing and Visualizing State Sequences in R with TraMineR. Journal of Statistical Software 40(4), 1-37.
seqistatd, seqi1epi, seqifpos
seqistatd
seqi1epi
seqifpos
data(trajact) seqact <- seqdef(trajact) stat <- seqinepi(seqact) head(stat)
Run the code above in your browser using DataCamp Workspace