| plot.dmm | R Documentation |
Plots the transition probabilities, or the stationary laws of the states, along the sequence.
## S3 method for class 'dmm'
plot(
x,
what = c("transition", "stationary"),
contexts = NULL,
npoints = 200,
...
)
x |
An object of class |
what |
Default="transition". If |
contexts |
(Optional) The contexts (rows of the transition matrices) to draw when
|
npoints |
Default=200. Number of positions at which the curves are evaluated |
... |
Graphical parameters passed to |
Invisibly, a list with the positions and the plotted values (an array
[position, context, state] for what="transition", a matrix [position, state] for
what="stationary")
getTransitionMatrix, getStationaryLaw
data(lambda, package = "drimmR")
x <- fitdmm(lambda, 1, 1, c("a", "c", "g", "t"), init.estim = "freq")
plot(x)
plot(x, what = "stationary")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.