State frequencies in each individual sequence
Returns the state frequencies (total durations) for each sequence in the sequence object.
seqistatd(seqdata, with.missing=FALSE, prop=FALSE)
seqdata |
a sequence object (see |
with.missing |
logical: if set as |
prop |
logical: if |
Alexis Gabadinho
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.
data(actcal) actcal.seq <- seqdef(actcal,13:24) seqistatd(actcal.seq[1:10,]) ## Example using "with.missing" argument data(ex1) ex1.seq <- seqdef(ex1, 1:13, weights=ex1$weights) seqistatd(ex1.seq) seqistatd(ex1.seq, with.missing=TRUE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.