This function simply allows to add priors to an existing
distribution object. The supplied priors must be a PriorList
object created through calling priors.
Arguments
- x
distribution (i.e.
BiodiversityDistribution) object.- priors
A
PriorListobject containing multiple priors.- ...
Other parameters passed down.
Note
Alternatively priors to environmental predictors can also directly added as parameter via add_predictors
See also
Other prior:
BARTPrior(),
BARTPriors(),
BREGPrior(),
BREGPriors(),
GDBPrior(),
GDBPriors(),
GLMNETPrior(),
GLMNETPriors(),
INLAPrior(),
INLAPriors(),
STANPrior(),
STANPriors(),
XGBPrior(),
XGBPriors(),
get_priors(),
priors(),
rm_priors()
Examples
if (FALSE) { # \dontrun{
pp <- GLMNETPrior("forest")
x <- distribution(background) |>
add_priors(pp)
} # }
