Standard Deviation

DESCRIPTION:

Returns the standard deviation of a vector or bdVector.

USAGE:

stdev(x, na.rm=F, ...) 

REQUIRED ARGUMENTS:

x
numeric vector, bdNumeric, or matrix.

OPTIONAL ARGUMENTS:

na.rm
if FALSE, missing values ( NA) in the input result in the output being missing ( NA).
...
Other arguments which are passed to colStdevs.

VALUE:

Standard deviation of a vector or bdVector.

DETAILS:

A matrix is treated like a vector or bdVector. Use colStdevs if you want the standard deviation of each column in a matrix.

SEE ALSO:

, , .

EXAMPLES:

stdev(longley.x) 
colStdevs(longley.x)