pull_out {bayesnec} | R Documentation |
pull_out
Description
Subsets model(s) from an existing object of class bayesmanecfit
Usage
pull_out(manec, model, loo_controls, ...)
Arguments
manec |
An object of class |
model |
A |
loo_controls |
A named |
... |
Additional arguments to |
Value
If model
is a string representing a single model, an object
of class bayesnecfit
; If model
is instead a string
depicting a suite of models, and object of class bayesmanecfit
.
See Also
Examples
## Not run:
library(bayesnec)
data(manec_example)
nec4param <- pull_out(manec_example, model = "nec4param")
# use "ecx" to get all ECx-containing models
# (only one ["ecx4param"] in this minimal example)
ecx_models <- pull_out(manec_example, model = "ecx")
## End(Not run)