R: Plot discriminant subsequences

plot.subseqelistchisq {TraMineR} | R 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, 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.
`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`

[Package TraMineR version 2.2-2 Index]