seqhandbook (version 0.1.0)

seqinepi: Number of episodes in each state

Description

Returns the number of episodes in the states.

Usage

seqinepi(seqdata)

Arguments

seqdata

a sequence object (see seqdef function).

Author

Nicolas Robette

References

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.

See Also

seqistatd, seqi1epi, seqifpos

Examples

Run this code
data(trajact)
seqact <- seqdef(trajact)
stat <- seqinepi(seqact)
head(stat)

Run the code above in your browser using DataCamp Workspace