casing {StratigrapheR} | R Documentation |
Finds values in a vector directly above and below a number
casing(x, into)
x |
a number |
into |
a vector where to find the values directly above and below x |
a vector of the values of "into" vector directly above and below x respectively
Similar function : encase
casing(0.21,c(0.3,0.4,0.1,0.2))