hidd.sd {ctbi} | R Documentation |
Calculate the standard deviation of a vector if the number of its non-NA values is above a threshold. Otherwise, return NA.
hidd.sd(x, N.min.NA)
x |
a numeric vector |
N.min.NA |
a numeric threshold |
a numeric (either NA or the standard deviation of x)