popsd: population standard deviation

Description Usage Arguments

View source: R/popvar.R

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 populaton size and takes the square root.

Usage

1
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?


rafalab/rafalib documentation built on April 17, 2021, 6:47 p.m.