Replace all values within a vector with NA values if the sum of its non-NA values is below a threshold.
hidd.replace(x, N.min.NA)
x
a numeric vector
N.min.NA
a numeric threshold
the vector x