plot.INLAjoint: Plot the output from a multivariate joint model for...

View source: R/plot.INLAjoint.R

plot.INLAjointR Documentation

Plot the output from a multivariate joint model for longitudinal and/or survival data

Description

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.

Usage

## S3 method for class 'INLAjoint'
plot(x, ...)

Arguments

x

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.

Value

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.


DenisRustand/INLAjoint documentation built on Sept. 27, 2024, 3:46 a.m.