sdR Documentation

Standard Deviation

Description

This function computes the standard deviation of the values in x. If na.rm is TRUE then missing values are removed before computation proceeds.

Usage

## S4 method for signature 'fm'
sd(x, na.rm = FALSE)

## S4 method for signature 'fmV'
sd(x, na.rm = FALSE)

Arguments

x

a FlashR vector or matrix.

na.rm

logical. Should missing values be removed?

Examples

mat <- fm.runif.matrix(100, 10)
sd(mat)