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 Aug. 15, 2023, 9:07 a.m.

Related to tryNaN in jmvcore...