st_deviation: Calculate the standard deviation of all elements in a vector.

Description Usage Arguments Value Examples

View source: R/vector_stats.R

Description

Calculate the standard deviation of all elements in a vector.

Usage

1
st_deviation(x, mode = "biased")

Arguments

x

A vector.

mode

Biased (default) or unbiased.

Value

A vector of the standard deviation of each element in x.

Examples

1
2
st_deviation(c(1,2,3,4))
st_deviation(c(1,2,3,4,), "unbiased")

ajfabry/Statspeare documentation built on Jan. 26, 2020, 7:44 a.m.