Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

priors_survData

Create a list of scalars giving priors to use in Bayesian inference.


Description

Create a list of scalars giving priors to use in Bayesian inference.

Usage

priors_survData(x, model_type = NULL)

Arguments

x

An object of class survData

model_type

TKTD model type ('SD' or 'IT')

Value

A list for parameterization of priors for Bayesian inference with JAGS.

Examples

# (1) Load the data
data(cadmium1)

# (2) Create a survData object
dat <- survData(cadmium1)

# (3) Create priors for SD model_type
priors_survData(dat, model_type = "SD")

# (4) Create priors for IT model_type
priors_survData(dat, model_type = "IT")

morse

Modelling Tools for Reproduction and Survival Data in Ecotoxicology

v3.3.1
GPL (>= 2)
Authors
Virgile Baudrot [aut], Sandrine Charles [aut], Marie Laure Delignette-Muller [aut], Wandrille Duchemin [ctb], Benoit Goussen [ctb], Nils Kehrein [ctb], Guillaume Kon-Kam-King [ctb], Christelle Lopes [ctb], Philippe Ruiz [aut], Alexander Singer [ctb], Philippe Veber [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.