std | R Documentation |
Computes the standard deviation of the values of x
.
std(x, flag=0)
x |
numeric vector or matrix |
flag |
numeric scalar. If |
Simply invokes sd
.
Return value depends on argument x
. If vector, returns the
standard deviation. If matrix, returns vector containing the
standard deviation of each column.
P. Roebuck proebuck1701@gmail.com
std(1:2) ^ 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.