seqifpos: First position in each state

View source: R/seqifpos.R

seqifposR Documentation

First position in each state

Description

Returns the first position in each state.

Usage

seqifpos(seqdata)

Arguments

seqdata

a sequence object (see seqdef function).

Author(s)

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, seqinepi

Examples

data(trajact)
seqact <- seqdef(trajact)
stat <- seqifpos(seqact)
head(stat)

nicolas-robette/seqhandbook documentation built on April 9, 2023, 7:08 a.m.