service.count_lowerequal_threshhold {kidney.epi} | R Documentation |
Count how many values are less or equal than the defined threshhold.
Description
Count how many values are less or equal than the defined threshhold.
Usage
service.count_lowerequal_threshhold(x, threshhold)
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
myvals <- c(1, 8, -5, "oggi", NA)
myvals2 <- service.count_lowerequal_threshhold(myvals, 0)
myvals2 # 1
[Package kidney.epi version 1.2.0 Index]