protect_posterior: Protect function (posterior function)

View source: R/helpers.R

protect_posteriorR Documentation

Protect function (posterior function)

Description

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

Usage

protect_posterior(f)

Arguments

f

the function to be protected

Value

the protected function


seroanalytics/serosolver documentation built on Aug. 18, 2024, 12:46 p.m.