Returns the first position in each state.
seqifpos(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, seqinepi
seqistatd
seqi1epi
seqinepi
data(trajact) seqact <- seqdef(trajact) stat <- seqifpos(seqact) head(stat)
Run the code above in your browser using DataCamp Workspace