default.priors: Sets default priors for JAGS model code

View source: R/write.jags.R

default.priorsR Documentation

Sets default priors for JAGS model code

Description

This function creates JAGS code snippets for default MBNMA model priors.

Usage

default.priors(fun = tloglin())

Arguments

fun

An object of class "timefun" generated (see Details) using any of tloglin(), tpoly(), titp(), temax(), tfpoly(), tspline() or tuser()

Value

A list, each element of which is a named JAGS snippet corresponding to a prior in the MBNMA JAGS code.

Examples


default.priors(fun=temax())

default.priors(fun=titp(p.expon=TRUE))



MBNMAtime documentation built on Oct. 14, 2023, 5:08 p.m.