Learn R Programming

splus2R (version 1.3-5)

stdev: Standard deviation

Description

Calculates the standard deviation of a series.

Usage

stdev(x, ...)

Value

the standard deviation of the input series.

Arguments

x

input series.

...

optional arguments sent directly to the colVars function. You can control for example the removal of NA values prior to analysis via the na.rm argument, and whether or not an unbiased estimate is returned via the unbiased argument.

See Also

Examples

Run this code
stdev(c(pi, 1, 3))

Run the code above in your browser using DataLab