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))



hugaped/MBNMAtime documentation built on Feb. 7, 2025, 3:30 p.m.