Learn R Programming

presmTP (version 1.1.0)

plot.pstp: Plot for an object of class "pstp"

Description

It draws the estimated probabilities.

Usage

# S3 method for pstp
plot(x = object, state_ini = 0, ...)

Arguments

x

A fitted pstp object as produced by presmTP.

state_ini

Initial state of the transition. Defaults to state_ini=0

...

For future methods.

Value

No value is returned.

Examples

Run this code
# NOT RUN {
res<- presmTP(data = colonIDM, s = 365,method = "uns")
plot(res)

# }

Run the code above in your browser using DataLab