View source: R/posterior_crossvalidation.R
| posterior_crossvalidation | R Documentation |
Generic function for posterior cross-validation.
posterior_crossvalidation(object, ...)
## S3 method for class 'list'
posterior_crossvalidation(object, ..., tibble = TRUE, return_indices = FALSE)
## Default S3 method:
posterior_crossvalidation(object, ...)
object |
A fitted model, or a (preferably named) list of fitted models.
The elements of a list can be of any class with a
|
... |
Arguments passed on to the methods. For a list of models, only the arguments that are supplied are passed on, so each method uses its own defaults for the rest. |
tibble |
If |
return_indices |
If |
A list with elements mu, var and scores, and
indices if requested. For a list of models, mu and
var are lists with one element per model, and scores has
one row per model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.