service.count_lowerequal_threshhold: Count how many values are less or equal than the defined...

Description Usage Arguments Details Value Examples

View source: R/service.general.R

Description

Count how many values are less or equal than the defined threshhold.

Usage

1

Arguments

x

the vector to be checked.

threshhold

numeric the threshhold to compare with.

Details

Count how many values are less or equal than the defined threshhold.

Programming: Boris Bikbov boris@bikbov.ru.

Value

numeric returns number of numeric values less or equal to the threshhold.

Examples

1
2
3
myvals <- c(1, 8, -5, "oggi", NA)
myvals2 <- service.count_lowerequal_threshhold(myvals, 0)
myvals2 # 1

kidney.epi documentation built on March 13, 2020, 3:16 a.m.