set_prior: Set prior

Description Usage Arguments Value

Description

Set prior

Usage

1
2
set_prior(parameter = NULL, terms, family = NULL, location = NULL,
  spread = NULL, fixed = NULL)

Arguments

parameter

The parameter

terms

The terms. Can be a character vector, or the result of dplyr::vars, which can be convenient for setting the prior on all but some terms.

family

The family for the prior distribution

location

A value for location on the distribution.

spread

A value for the spread (scale) on the distribution

fixed

In the fitting process, should this parameter be fixed at its prior value, or updated?

Value

An object of class 'prior', to be (optionally inserted into a list with other priors and) passed to 'priors' arg in 'survreg_map'


jwdink/survbayes documentation built on May 4, 2019, 4:23 p.m.