make_priors: A function to create priors for STRAND models

View source: R/priors.R

make_priorsR Documentation

A function to create priors for STRAND models

Description

This function allows users to change the numerical values of priors (but not their distributions). Users should only change these values if they have read and understood the source code.

Usage

make_priors(priors_to_change = NULL, include_rownames = FALSE)

Arguments

priors_to_change

A named vector of priors to change. To get parameter names, run: make_priors(include_rownames=TRUE). Values must be 2-vectors. If the prior has only one parameter, inlcude 0 as the second element.

include_rownames

Should rownames be printed?

Value

A STRAND priors matrix.

Examples

## Not run: 
make_priors(priors_to_change=list(sr_L=5),include_rownames=TRUE)
make_priors()

## End(Not run)


ctross/STRAND documentation built on Nov. 14, 2024, 11:50 p.m.