update.priors: Update priors using a prior table

View source: R/visualization.tools.R

update.priorsR Documentation

Update priors using a prior table

Description

This function updates the prior of your models using a prior table. see get.prior.table function

Usage

## S3 method for class 'priors'
update(tab, model)

Arguments

tab

A prior table generated by the get.prior.table function.

model

A model object.

Value

A data frame with 4 columns: parameter name, first parameter of prior distribution, second parameter of prior distribution, prior distribution.

Author(s)

Marcelo Gehara


gehara/PipeMaster documentation built on April 19, 2024, 8:14 a.m.