my_function | R Documentation |
check x is biggger than vec[1] and smaller than vec[2].
inmid(x, vec)
x |
a numeric parameter |
vec |
a numeric vector, vector length is equal to two |
x <- 3
vec1 <- c(1, 3)
isTRUE(inmid(x, vec1))
vec2 <- c(3, 4)
isTRUE(inmid(x, vec2))
vec3 <- c(1, 2)
isTRUE(inmid(x, vec3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.