seqtab {TraMineR} | R Documentation |
Sequences frequency table
Description
Returns a frequency table for the sequences (frequency and percent).
Usage
seqtab(seqdata, tlim=0)
Arguments
seqdata |
a sequence object as defined by the seqdef function. |
tlim |
if tlim>0, shows only the 'tlim' most frequent sequences. |
See Also
seqdplot
.
Examples
## Loading the 'actcal' example data set
data(actcal)
## Defining a sequence object with data in columns 13 to 24
## (activity status from january to december 2000)
actcal.seq <- seqdef(actcal,13:24,informat='STS')
## 10 most frequent sequences in the data
seqtab(actcal.seq,10)
[Package
TraMineR version 1.1
Index]