- x
A state sequence object created with the seqdef
function.
- idxs
Indexes of the sequences to be plotted (default value is 1:10
), for instance 20:50
to plot sequences 20 to 50, c(2,8,12,25)
to plot sequences 2,8,12 and 25 in seqdata
. If set to 0
, all sequences in seqdata
are plotted.
- weighted
Logical: Should the bar representing each sequence be proportional to its weight? Ignored when no weights are assigned to sequences (see seqdef
.)
- sortv
A sorting variable or a sort method (one of "from.start"
or "from.end"
). See details.
- cpal
Color palette for the states. A vector of colors of length equal to the number of states in the alphabet. If NULL
(default), the cpal
attribute of the seqdata
sequence object is used (see seqdef
).
- missing.color
Color for representing missing values inside the sequences. If NULL
(default) the color is taken from the "missing.color" attribute of the x
sequence object.
- ylab
String. An optional label for the y axis. If set to NA
, no label is drawn.
- yaxis
Logical. Should the y axis be plotted. When set as TRUE
, sequence indexes are displayed.
- xaxis
Logical. Should the x (time) axis be plotted? Default is TRUE
.
- ytlab
the labels of the plotted sequences to display on the y axis. Default is the indexes of the sequences as defined by the idxs
argument. Can be set to "id"
for displaying the row names (id) of the sequences instead of their indexes; row names can be assigned to the sequence object with the id
argument of the seqdef
function or afterwards with rownames
. Otherwise ytlab
can be set to a vector of length equal to the number of sequences to be plotted.
- ylas
sets the orientation of the sequence labels appearing on the y axis. Accepted values are the same as for the las
standard option
0: always parallel to the axis (default),
1: always horizontal,
2: always perpendicular to the axis,
3: always vertical.
- xtlab
optional labels for the x axis ticks labels. If unspecified, the column names of the seqdata
sequence object are used (see seqdef
).
- xtstep
optional interval at which the tick-marks and labels of the x-axis are displayed. For example, with xtstep=3
a tick-mark is drawn at position 1, 4, 7, etc... The display of the corresponding labels depends on the available space and is dealt with automatically. If unspecified, the xtstep
attribute of the x
object is used.
- tick.last
Logical. Should a tick mark be enforced at the last position on the x-axis? If unspecified, the tick.last
attribute of the x
object is used.
- cex.axis
Axis annotation magnification. See par
.
- tlim
Deprecated. Use idxs
instead.
- cex.plot
Deprecated. Use cex.axis
instead.
- ...
arguments to be passed to the plot function or other graphical parameters.