user_draws {gratia} | R Documentation |
Handle user-supplied posterior draws
Description
Handle user-supplied posterior draws
Usage
user_draws(model, draws, ...)
Arguments
model |
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.
|
draws |
matrix; user supplied posterior draws to be used when
method = "user" .
|
... |
arguments passed to methods.
|
[Package
gratia version 0.9.2
Index]