Learn R Programming

smallstuff (version 1.0.3)

pop.sd: Calculate the Population Standard Deviation

Description

Calculate the standard deviation of a numeric vector if the data constitutes the whole population. Note that missing values are excluded.

Usage

pop.sd(x)

Value

The population standard deviation of the entries in x

Arguments

x

numeric vector

Examples

Run this code
pop.sd(c(1:6,NA,7:10))

Run the code above in your browser using DataLab