Handle user-supplied posterior draws
user_draws(model, draws, ...)
a fitted R model. Currently only models fitted by mgcv::gam()
or mgcv::bam()
, or return an object that inherits from such objects are
supported. Here, "inherits" is used in a loose fashion; models fitted by
scam::scam()
are support even though those models don't strictly inherit
from class "gam"
as far as inherits()
is concerned.
matrix; user supplied posterior draws to be used when
method = "user"
.
arguments passed to methods.