above_threshold_vec: Above_threshold_vec

Description Usage Arguments Examples

View source: R/above_threshold_vec.R

Description

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.

Usage

1

Arguments

x

A numeric vector.

y

Threshold with default value 0.

Examples

1
2
3
x <- seq(1:10)
y <- 5
above_threshold_vec(x, y)

tkostas/komics documentation built on May 24, 2019, 7:31 a.m.