I am not sure to understand your question since seqstatd()
returns the cross-sectional frequencies at each successive position, and NOT the state frequencies for each sequence. The latter is returned by seqistatd()
.
Assuming you refer to the outcome of seqistatd()
you would get the mean time spent in each state with seqmeant(sequence.sts)
.
For other summaries you can use the apply
function. For instance, you get the variance of the time spent in each state with
tab <- seqistatd(mvad.seq)
vart <- apply(tab,2,var)
head(vart)
Hope this helps.