Description Usage Arguments Value Author(s) References Examples
View source: R/plot.markovMSM.R
Plots for the visual inspection for checking the Markov condition through the difference between the AJ and LMAJ from a starting time of the transition probabilities for each transition.
1 2 3 |
x |
A dataframe in long format in case of the plot with the differences between AJ and LMAJ estimators or a object of class "markovMSM" with the results of the global.test or local.test function. |
to |
The last receiving state considered for the estimation of the transition probabilities. Plot of the transition probabilities between the starting to this state is shown. |
quantileOrder |
Order of the quantil used in the formula of the AUC global test. |
axis.scale |
Limit of the y axis of the plots. |
difP |
Type of plot representing in case of x means the results of the Localtest. If difP=TRUE plot depicts the discrepancies between AJ and LMAJ estimators. If difP=FALSE plot show the AJ and the LMAJ estimates. By default difP=FALSE. |
... |
For future methods. |
No value is returned.
Gustavo Soutinho and Luis Meira-Machado.
Soutinho G, Meira-Machado L (2021). Methods for checking the Markov condition in multi-state survival data. Computational Statistics.
1 2 3 4 5 6 7 8 9 10 11 | data(prothr)
res<-AUC.test(db_long=prothr, times=30, from=1, to=3, type='local',
replicas=3)
plot(res, to=3, axis.scale=c(-0.25,.25), difP=TRUE)
plot(res, to=2, axis.scale=c(0,.25), difP=FALSE)
## Not run: res2<-AUC.test(db_long=prothr, db_wide = NULL, from=1, to=3,
type='global', replicas=3, limit=0.90, quantiles=c(.05, .10, .20, .30, 0.40))
plot(res2, quantileOrder=3, 2, axis.scale=c(-0.05,.15))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.