protect: Protect function

View source: R/helpers.R

protectR Documentation

Protect function

Description

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

Usage

protect(f)

Arguments

f

the function to be protected

Value

the protected function


adamkucharski/serosolver documentation built on June 12, 2025, 9:08 a.m.