Learn R Programming

TraMineR (version 1.4-1)

seqistatd: States frequency for each individual sequence

Description

Returns the state frequencies for each sequence in the sequence object.

Usage

seqistatd(seqdata, with.miss=FALSE)

Arguments

seqdata
a sequence object (see seqdef function).
with.miss
if set to TRUE, cumulated durations are also computed for the missing status (gaps in the sequences). See seqdef on options for handling missing values when creating sequence objects.

Examples

Run this code
data(actcal)
actcal.seq <- seqdef(actcal,13:24)
seqistatd(actcal.seq[1:10,])

Run the code above in your browser using DataLab