| consensus | R Documentation |
This function combines posterior draws from multiple joint model fits into a single set of draws.
consensus(object, parm, method = c("union", "equal_weight", "var_weight"),
seed = 123L)
object |
an object of class |
parm |
a character vector with the names of parameters to combine. These
must correspond to elements in |
method |
the consensus method used to combine draws.
|
seed |
an integer seed used for the within-slice random permutation step
(used by |
An object of class "consensus_jm" with components:
methodthe selected method.
parmthe requested parameter(s) block(s).
n_splitsnumber of fits combined.
drawsnamed list of combined draw matrices (one per parameter block).
weightsfor "equal_weight" and "var_weight", a named list of weight matrices.
n_drawsnumber of combined draws per parameter block.
summarynamed list of summary matrices with Mean, StDev, 2.5%, 97.5%, and P).
seedseed used.
Pedro Miranda-Afonso p.mirandaafonso@erasmusmc.nl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.