Learn R Programming

MBNMAtime (version 0.2.6)

default.priors: Sets default priors for JAGS model code

Description

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

Usage

default.priors(fun = tloglin())

Value

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

Arguments

fun

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

Examples

Run this code
# \donttest{
default.priors(fun=temax())

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

Run the code above in your browser using DataLab