Usage
## S3 method for class 'stslist.modst':
plot(x, cpal = NULL, ylab = NULL, yaxis = TRUE, xaxis = TRUE,
xtlab = NULL, xtstep = NULL, cex.plot = 1, ...)
Arguments
x
an object of class stslist.modst
as produced by the seqmodst
function.
cpal
alternative color palette to use for the states. If user specified, a vector of colors with number of elements equal to the number of states in the alphabet. By default, the 'cpal' attribute of the x
object is used.
ylab
an optional label for the y axis. If set to NA, no label is drawn.
yaxis
if TRUE (default) the y axis is plotted.
xaxis
if TRUE (default) the x axis is plotted.
xtlab
optional labels for the x axis ticks. If unspecified, the names
attribute of the x
object is used.
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 automati
cex.plot
expansion factor for setting the size of the font for the axis labels and names. The default value is 1. Values lesser than 1 will reduce the size of the font, values greater than 1 will increase the size.
...
further graphical parameters. For more details about the graphical parameter arguments, see barplot
and par
.