Learn R Programming

TraMineR (version 2.2-10)

plot.subseqelistchisq: Plot discriminant subsequences

Description

Plot the result of seqecmpgroup

Usage

# S3 method for 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, ...)

Value

nothing

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

Author

Matthias Studer (with Gilbert Ritschard for the help page)

See Also

seqecmpgroup