R/std.R

Defines functions std

Documented in std

###
### $Id: std.R 29 2022-05-30 23:02:22Z proebuck $
###
### Standard deviation.
###


##-----------------------------------------------------------------------------
std <- function(x, flag = 0) {
    if (flag != 0) {
        stop("biased standard deviation not implemented")
    }

    sd(x)
}

Try the matlab package in your browser

Any scripts or data that you put into this service are public.

matlab documentation built on June 2, 2022, 1:09 a.m.