Description Usage Arguments Examples
View source: R/above_threshold_vec.R
Reads a numeric vector and calculates how many elements are above a given threshold. Output is a single element numeric vector with the number of observations.
1 | above_threshold_vec(x, y = 0)
|
x |
A numeric vector. |
y |
Threshold with default value 0. |
1 2 3 | x <- seq(1:10)
y <- 5
above_threshold_vec(x, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.