This function provide plots for the output of a multivariate joint model for longitudinal and/or survival data. The output can be stored into an object and manipulated as a list of ggplot outputs, described bellow.
# S3 method for INLAjoint
plot(x, ...)
return a named list of ggplot
objects containing:
Outcomes
as a list of length equal the number of longitudinal outcomes plus the number of survival outcomes, each one including the plot for the posterior marginals of the associated fixed effects and residual or baseline variance (or standard error). Each element contains the plot for the posterior marginal.
Covariances
the plots for the posterior marginal distribution of the covariance parameters.
Associations
the plots for the posterior marginal distribution of the association parameters.
Random
The plot for the fitted baseline risk functions as shown as the posterior mean and credible interval.
an object with the output of the the joint function
Extra arguments including:
sdcor
: logical indicating if the random effects
correlation are to be shown. If FALSE the covariance is shown.
priors
: logical indicating if the priors are added to the posterior marginals plots.