rebound: Simplifies boundary indicators for lim objects
Description
Simplifies boundary indicators for lim objects: from the wide
range supported by R ("[]", "[)", "(]", "()", "[[", "]]", "][", "open",
"closed", "left-open", "right-open", "left-closed", "right-closed") to "[]",
"[[", "]]" and "][" only
Usage
rebound(b, na.errors = F)
Value
a simplified vector of boundary indicators ("[]", "[[",
"]]" and "][" only)
Arguments
b
a vector of boundary indicators
na.errors
whether to replace all other values by NA (rather
than simply stopping the function)