| ERRVL {statnet.common} | R Documentation |
try-error (result of try encountering an error.This function is inspired by NVL, and simply returns the first
argument that is not a try-error, raising an error if all arguments
are try-errors.
ERRVL(...)
... |
Expressions to be tested; usually outputs of
|
The first argument that is not a try-error. Stops with an
error if all are.
print(ERRVL(1,2,3)) # 1 print(ERRVL(try(solve(0)),2,3)) # 2