casing {StratigrapheR} | R Documentation |
Finds values in a vector directly above and below a number
Description
Finds values in a vector directly above and below a number
Usage
casing(x, into)
Arguments
x |
a number |
into |
a vector where to find the values directly above and below x |
Value
a vector of the values of "into" vector directly above and below x respectively
See Also
Similar function : encase
Examples
casing(0.21,c(0.3,0.4,0.1,0.2))
[Package StratigrapheR version 1.3.1 Index]