Learn R Programming

p3state.msm (version 1.3)

pLIDA: Transition probabilities

Description

Computation of the transition probabilities.

Usage

pLIDA(object, time1, time2,tp=NULL)

Arguments

object
Component datafr of an object of class p3state.
time1
The first time for obtaining estimates for the transition probabilities, bivariate distribution function. NULL is equivalent to 0.
time2
The second time for obtaining estimates for the bivariate distribution function.
tp
Optional argument: tp="all" (default value) to obtain all the transition probabilities p11, p12 and p22; tp="p11" to obtain only p11; tp="p12" to obtain only p12;tp="p22" to obtain only p22.

See Also

p3state

Examples

Run this code
data(heart2)
res.p3state<-p3state(heart2)
pLIDA(res.p3state,time1=30,time2=300)

Run the code above in your browser using DataLab