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 Nov. 18, 2022, 1:08 a.m.

Related to tryNaN in jmvcore...