rebound {StratigrapheR} | R Documentation |
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)
Arguments
b |
a vector of boundary indicators |
na.errors |
whether to replace all other values by NA (rather than simply stopping the function) |
Value
a simplified vector of boundary indicators ("[]"
, "[["
,
"]]"
and "]["
only)
See Also
Examples
bounds <- c("[]", "[)", "(]", "()",
"[[", "]]", "][",
"open", "closed",
"left-open", "right-open",
"left-closed", "right-closed")
rebound(bounds)
[Package StratigrapheR version 1.3.1 Index]