pop_sd: Population Standard Deviation

Description Usage Arguments Value Examples

View source: R/pop_sd.R

Description

Population Standard Deviation

Usage

1
pop_sd(x, na.rm = FALSE)

Arguments

x

a numeric vector, matrix, or data frame.

na.rm

a logical: should NA values be removed?

Value

The population standard deviation of x

Examples

1
2
3
4
5
6
7
8
pop_sd(1:10)
2.872281

pop_sd(c(1:10, NA))
NA

pop_sd(c(1:10, NA), na.rm = TRUE)
2.872281

hamedbh/popstats documentation built on Nov. 4, 2019, 1:27 p.m.