print.markovMSM {markovMSM} | R Documentation |
Pritting fits of "markovMSM" class.
Description
Returns the formula and the methods of the Markov tests in Multi-state models.
Usage
## S3 method for class 'markovMSM'
print(x, ...)
Arguments
x |
A object of "markovMSM" with the results of the AUC global or local tests. |
... |
For future methods. |
Value
The formula and the methods of the Markov tests in Multi-state models.
Author(s)
Gustavo Soutinho and Luis Meira-Machado.
References
Soutinho G, Meira-Machado L (2021). Methods for checking the Markov condition in multi-state survival data. Computational Statistics.
Examples
library(markovMSM)
data("colonMSM")
db_wide<-colonMSM
positions<-list(c(2, 3), c(3), c())
namesStates = c("Alive", "Rec", "Death")
tmat <-transMatMSM(positions, namesStates)
timesNames = c(NA, "time1","Stime")
status=c(NA, "event1","event")
trans = tmat
db_long<- prepMSM(data=db_wide, trans, timesNames, status)
times=365
res<-AUC.test(data = db_long, times=times, from=2, to=3, type='local',
replicas=2, tmat = tmat)
print(res)
[Package markovMSM version 0.1.3 Index]