| plot_predictions | R Documentation |
For a given landmark time, plot the probability of failure conditional on survival and longitudinal biomarker evolutions.
plot_predictions(predictions, outcomes, id, subject, time)
predictions |
the predictions generated from mmm_predictions() |
outcomes |
a character vector with the names of the longitudinal outcomes |
id |
a character value with the name of the subject identifier |
subject |
a character value with id for subject of interest |
time |
a scalar value for the time at which the prediction is plotted |
plots for survival conditional on the longitudinal biomarker trajectory.
## Not run: plot_predictions( predictions=predictions, outcomes=outcomes, id="id", subject="0001", time="time" ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.