sims/method_functions.R

## @knitr methods


catchall_best <- new_method("catchall", "Best model with CatchAll",
                        method = function(model, draw) {
                          bmm <- CatchAll::catch_best(draw)
                          list(Model = bmm$model,
                               obs = sum(counts > 0),
                               est = bmm$est)
                        })
statdivlab/CatchMore documentation built on May 8, 2019, 8:12 a.m.