Skip to contents

get_prior(), default_prior() and prior_summary() return the one prior table a model was built with. Edit it and pass it to update(fit, prior = ...) to refit under other priors without recompiling.

Usage

# S3 method for class 'mvgam'
get_prior(object, ...)

# S3 method for class 'mvgam'
default_prior(object, ...)

Arguments

object

An mvgam model, fitted or built with run_model = FALSE.

...

Unused. Anything passed here is refused.

Value

A brmsprior data frame of the observation and trend priors. A row the user set has source = "user". brms sets the source of the others, mostly "default".

See also