Learn R Programming

ctbi (version 2.0.5)

hidd.sd: hidd.sd

Description

Calculate the standard deviation of a vector if the number of its non-NA values is above a threshold. Otherwise, return NA.

Usage

hidd.sd(x, N.min.NA)

Value

a numeric (either NA or the standard deviation of x)

Arguments

x

a numeric vector

N.min.NA

a numeric threshold