plot.smmfit {smmR} | R Documentation |
Plot function for an object of class smmfit
Description
Displays the densities for the conditional sojourn time
distributions depending on the current state i
and on the next state
j
.
Usage
## S3 method for class 'smmfit'
plot(x, i, j, klim = NULL, ...)
Arguments
x |
An object of class |
i |
An element of the state space vector |
j |
An element of the state space vector |
klim |
An integer giving the limit value for which the density will be
plotted. If |
... |
Arguments passed to plot. |
Value
None.
References
V. S. Barbu, N. Limnios. (2008). Semi-Markov Chains and Hidden Semi-Markov Models Toward Applications - Their Use in Reliability and DNA Analysis. New York: Lecture Notes in Statistics, vol. 191, Springer.
Examples
states <- c("a", "c", "g", "t")