Compute sample standard deviation

Share:

Description

ssd computes a sample standard deviation.

Usage

1
ssd(x, na.rm = TRUE)

Arguments

x

a numeric vector

na.rm

missing values (NA) will be stripped before the computation proceeds (na.rm = TRUE, default)

Value

Return a numeric containing a sample standard deviation.

Author(s)

Yasuyuki Okumura
Department of Social Psychiatry,
National Institute of Mental Health,
National Center of Neurology and Psychiatry
yokumura@blue.zero.jp

See Also

r2cov, svar, svar, ssd2sd, lower2R

Examples

1
2
3
data(infert)
ssd(infert$age)     #sample standard deviation
sd(infert$age)      #unbiased standard deviation

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.