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)

seqhandbook documentation built on April 3, 2023, 5:45 p.m.