protect: Protect function

Description Usage Arguments Value

View source: R/inference.R

Description

Wrapper function to protect calls to the posterior function. If posterior does not compute correctly, returns -100000.

Usage

1

Arguments

f

the function to be protected

Value

the protected function


jameshay218/lazymcmc documentation built on Sept. 16, 2021, 12:14 a.m.