R/utils.R
meanPositiveValues.Rd
Calculate the mean of all strictly positive values.
meanPositiveValues(x)
A vector of values.
The average of all the positive values. Returns NaN is no strictly positive values are found.
NaN
meanPositiveValues(-10:10) #> [1] 5.5