Learn R Programming

TraMineR (version 1.8-9)

plot.subseqelistchisq: Plot discriminant subsequences

Description

Plot the result of seqecmpgroup

Usage

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

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
residlevels
Significance levels used to colorize the Pearson residual
cpal
Color palette used to color the results
legendcol
When TRUE the legend is printed vertically, when FALSE it is printed horizontally. If NULL (default) the best position will be chosen.
legend.cex
Scale parameters for text legend.
ptype
If set to "resid", Pearson residuals are plotted instead of frequencies
legend.title
Legend title.
...
Additional parameters passed to barplot

Value

  • nothing

See Also

seqecmpgroup