sd_pop: Population standard deviation

View source: R/deepUtils.r

sd_popR Documentation

Population standard deviation

Description

Population standard deviation

Usage

sd_pop(x, na.rm = FALSE)

Arguments

x

A numeric vector, matrix or data frame.

na.rm

A logical value indicating whether missing values should be removed or not (default).

Details

The population standard deviation and sample standard deviation, implemented in stats package, differ in the denominator. The value of denominator in the formula for standard deviation in case of population data is n, while it is n-1 for sample data.

Value

The population standard deviation.

See Also

sd.

Other Utils: as_ANN_matrix(), degree(), distance(), list_as_numeric(), probability(), radian(), random_seed(), re.factor(), similarity(), var_pop(), vector_as_ANN_matrix(), vector_as_numeric()

Examples

  x <- sample(1000)
  sd_pop(x)

stschn/deepANN documentation built on June 25, 2024, 7:27 a.m.