plot_predictions: Plot predictions from the multivariate mixed model

plot_predictionsR Documentation

Plot predictions from the multivariate mixed model

Description

For a given landmark time, plot the probability of failure conditional on survival and longitudinal biomarker evolutions.

Usage

plot_predictions(predictions, outcomes, id, subject, time)

Arguments

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

Value

plots for survival conditional on the longitudinal biomarker trajectory.

Examples

## Not run: 
plot_predictions(
  predictions=predictions,
  outcomes=outcomes,
  id="id",
  subject="0001",
  time="time"
)

## End(Not run)

JanvandenBrand/jmmm documentation built on May 30, 2022, 9:37 a.m.