seqmtplot {TraMineR} | R Documentation |
Graphic presenting the mean time spent in each state of the alphabet
Description
Graphic presenting the mean time spent in each state of the alphabet
Usage
seqmtplot(seqdata, group=NULL, title=NULL, ...)
Arguments
seqdata |
a sequence object as returned by the seqdef function. |
group |
Plots one plot for each level of the factor given as argument. |
title |
a character string giving the title for the graphic. Default to no title. |
... |
arguments to be passed to the plot.stslist function or other graphical parameters. Use axes for controling the display of axes, withlegend for controling the display of a legend for the plot, etc... |
See Also
plot.stslist, seqstatd
Examples
## Loading the 'mvad' example data set
data(mvad)
## Defining a sequence object with the data in columns 15 to 86
mvad.seq <- seqdef(mvad,15:86)
## Plotting the mean times,
## for each level of the gcse5eq factor
seqmtplot(mvad.seq, group=mvad$gcse5eq)
[Package
TraMineR version 1.2-1
Index]