Last chance! 50% off unlimited learning
Sale ends in
Returns a logical vector like y
showing if each element
lies in the closed interval [min(x1, x2), max(x1, x2)]
.
between(y, x1, x2)
a numeric object
a number
a number
A logical object like y
.
# NOT RUN {
mat <- matrix(rnorm(16), 4, 4)
mat
between(mat, -2, 1)
# }
Run the code above in your browser using DataLab