plot.subseqelistchisq: Plot discriminant subsequences

View source: R/seqecmpgroup.R

plot.subseqelistchisqR Documentation

Plot discriminant subsequences

Description

Plot the result of seqecmpgroup

Usage

## S3 method for class 'subseqelistchisq'
plot(x, ylim = "uniform", rows = NA, cols = NA,
  resid.levels = c(0.05,0.01),
  cpal = brewer.pal(1 + 2 * length(resid.levels), "RdBu"), vlegend = NULL,
  cex.legend = 1, ptype = "freq", legend.title = NULL, 
  with.legend = TRUE, residlevels, legendcol, legend.cex, ...)

Arguments

x

The subsequences to plot (a subseqelist object).

ylim

if "uniform" all axes have same limits.

rows

Number of graphic rows

cols

Number of graphic columns

resid.levels

Significance levels used to colorize the Pearson residual

cpal

Color palette used to color the results

vlegend

When TRUE the legend is printed vertically, when FALSE it is printed horizontally. If NULL (default) the best position will be chosen.

cex.legend

Scale parameters for text legend.

ptype

If set to "resid", Pearson residuals are plotted instead of frequencies

legend.title

Legend title.

with.legend

Logical. Should legend be displayed?

residlevels

Deprecated. Use resid.levels instead.

legendcol

Deprecated. Use vlegend instead.

legend.cex

Deprecated. Use cex.legend instead.

...

Additional parameters passed to barplot

Value

nothing

Author(s)

Matthias Studer (with Gilbert Ritschard for the help page)

See Also

seqecmpgroup


TraMineR documentation built on Dec. 1, 2022, 5:08 p.m.