try0: Wrapper for try which returns second argument if not...

Description Usage Arguments Author(s) Examples

View source: R/try0_function.R

Description

Returns second argument if expression in first argument fails.

Usage

1
try0(expr, ifError = NULL)

Arguments

expr

expression to be tested

ifError

return value if test fails

Author(s)

Kim Rand

Examples

1
2

intelligentaccident/xreg documentation built on Jan. 17, 2021, 7:38 a.m.