View source: R/standard_error.R
standard_error | R Documentation |
Computes the standard error of the mean of a numeric vector as round(sqrt(var(x)/length(x)), 3)
standard_error(x)
x |
A numeric vector. |
The function removes NA
values before computing the standard error, and rounds the result to 3 decimal places.
A numeric value.
if(interactive()){ standard_error(runif(10)) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.