plot.smm {smmR}R Documentation

Plot function for an object of class smm

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 'smm'
plot(x, i, j, klim = NULL, ...)

Arguments

x

An object of S3 class smm (inheriting from the S3 class smmnonparametric or smmparametric).

i

An element of the state space vector x$states giving the current state in the following cases: type.sojourn = "fij" or type.sojourn = "fi", otherwise, i is ignored.

j

An element of the state space vector x$states giving the next state in the following cases: type.sojourn = "fij" or type.sojourn = "fj", otherwise, j is ignored.

klim

An integer giving the limit value for which the density will be plotted. If klim is NULL, then quantile or order 0.95 is used.

...

Arguments passed to plot.

Value

None.


[Package smmR version 1.0.3 Index]