popsd: population standard deviation

View source: R/popvar.R

popsdR Documentation

population standard deviation

Description

Returns the population standard deviation. Note that sd returns the unbiased sample estimate of the population standard deviation. It simply multiplies the result of var by (n-1) / n with n the population size and takes the square root.

Usage

popsd(x, na.rm = FALSE)

Arguments

x

a numeric vector or an R object which is coercible to one by as.vector(x, "numeric").

na.rm

logical. Should missing values be removed?


rafalib documentation built on April 3, 2025, 11:06 p.m.

Related to popsd in rafalib...