plot.subseqelist: Plot frequencies of subsequences

Description Usage Arguments Author(s) See Also Examples

View source: R/subseqelist.R

Description

Plot frequencies of subsequences.

Usage

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

Arguments

x

The subsequences to plot (a subseqelist object

freq

The frequencies to plot, support if NULL

cex

Plotting text and symbols magnification. See par.

...

arguments passed to barplot

Author(s)

Matthias Studer (with Gilbert Ritschard for the help page)

See Also

seqefsub

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## loading data
data(actcal.tse)

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

## Looking for frequent subsequences
fsubseq <- seqefsub(actcal.eseq,pmin.support=0.01)

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

TraMineR documentation built on June 20, 2017, 3:01 p.m.

Search within the TraMineR package
Search all R packages, documentation and source code