Learn R Programming

TraMineR (version 1.1)

plot.subseqelist: Plot frequencies of subsequences

Description

Plot frequencies of subsequences.

Usage

## S3 method for class 'subseqelist':
plot(x, freq=NULL,cex=1,...)

Arguments

x
The subsequences to plot
freq
The frequences to plot, support if NULL
cex
To control subsequences texts sizes. see par.
...
arguments passed to boxplot

Examples

Run this code
## loading data
data(actcal.tse)

## creating sequences
actcal.seqe <- seqecreate(actcal.tse)

## Looking for frequent subsequences
fsubseq <- seqefsub(actcal.seqe,pMinSupport=0.01)

## Frequence of first ten subsequences
plot(fsubseq[1:10], cex=2)
plot(fsubseq[1:10])

Run the code above in your browser using DataLab