graph.CTMC: Plot CTMCs (possibly Partially Observed)

Description Usage Arguments Details See Also

View source: R/CTMCutils_helpers.R

Description

Plot in piecewise fashion the CTMCs. If it is partially observed, it just plots it as if it were fully observed; i.e., the chain is pretended to continue in the same state until we see a jump.

Usage

1
2
3
4
graph.CTMC(CTMC, filename = NA, height = 6, width = 4.5, xlab="time",
ylab="State", ...)
graph.CTMC.PO(CTMC, filename = NA, height = 6, width = 4.5,
type="l", ...)

Arguments

CTMC

Either a fully observed CTMC or a partially observed one. Partially observed ones don't have a "T" and fully observed do.

filename

filename string, or NA.

height

Passed to trellis if filename isn't NA.

width

Passed to trellis if filename isn't NA.

xlab

X label.

ylab

Y label

type

As in the plot parameter.

...

Details

If your data is S4 class, you can use the plot method.

See Also

See also the s4 methods written for the plot function plot-methods.


DOBAD documentation built on May 2, 2019, 3:04 a.m.