protect: Protect function

View source: R/helpers.R

protectR Documentation

Protect function

Description

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

Usage

protect(f)

Arguments

f

the function to be protected

Value

the protected function


seroanalytics/serosolver documentation built on April 24, 2023, 9:52 a.m.