%or% {admiraldev} | R Documentation |
Or
Description
Or
Usage
lhs %or% rhs
Arguments
lhs |
Any valid R expression |
rhs |
Any valid R expression |
Details
The function evaluates the expression lhs
and if this expression results
in an error, it catches that error and proceeds with evaluating the expression
rhs
and returns that result.
Value
Either the result of evaluating lhs
, rhs
or an error
See Also
Developer Utility Functions:
%notin%()
,
arg_name()
,
contains_vars()
,
convert_dtm_to_dtc()
,
extract_vars()
,
filter_if()
,
friendly_type_of()
,
valid_time_units()
,
vars2chr()
[Package admiraldev version 1.1.0 Index]