seqdplot {TraMineR}R Documentation

Plot the sequence of state distributions

Description

Graphic presenting the states frequencies for each time point, as computed by the seqstatd function.

Usage

seqdplot(seqdata, group=NULL, title=NULL, ...)

Arguments

seqdata a sequence object as defined 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. For example 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

## Defining a sequence object with the data in columns 10 to 25
## (family status from age 15 to 30) in the biofam data set
data(biofam)
biofam.lab <- c("Parent", "Left", "Married", "Left+Marr",
"Child", "Left+Child", "Left+Marr+Child", "Divorced")
biofam.seq <- seqdef(biofam, 10:25, labels=biofam.lab)

## Plotting the states distribution (family status from age 15 to 30)
seqdplot(biofam.seq)

## Grouped by language
seqdplot(biofam.seq, group=biofam$plingu02, axes="bottom")

[Package TraMineR version 1.2-1 Index]