PriorsFromFile: Select prior parameters from file

Description Usage Arguments Value

View source: R/stress_interface.R

Description

This is a convenience function for specifying priors from a file and preparing the ilist object for the Gibbs sampler.

Usage

1
PriorsFromFile(PATHS, select, ...)

Arguments

PATHS

the PATHS variable; see 'SelectPaths'.

select

a vector with entries str, scenariob, and scenariov, specifying the structure and mean/variance scenarios from which to construct the ilist object.

...

additional parameters to be passed to .DataInput.

Value

a list with additional class PriorList, containing:

  1. the prior parameter mean.

  2. the prior parameter precision matrix.

  3. the model's covariance and precision matrices (PriorVar and InvVar).


gamalamboy/stresstest documentation built on May 17, 2019, 1:33 p.m.