tryNaN: try an expression, and return NaN on failure

View source: R/utils.R

tryNaNR Documentation

try an expression, and return NaN on failure

Description

if the expression fails, NaN is returned silently

Usage

tryNaN(expr)

Arguments

expr

an expression to evaluate

Value

the result, or NaN on failure


jmvcore documentation built on Sept. 12, 2024, 7:32 a.m.

Related to tryNaN in jmvcore...