View source: R/calculate_rse.R
calculate_rse | R Documentation |
Calculates relative standard error of a vector of numbers.
calculate_rse(x)
x |
The numeric vector of numbers from which relative standard error should be calculated. |
Relative standard error is returned as a proportion. It is sometimes also referred to as "proportional standard error."
Relative standard error is the standard error divided by the mean:
Relative Standard Error = \frac{\frac{s}{\sqrt{n}}}{\bar{x}}
This function returns a single value that is the relative standard error of a vector of numbers.
Steven H. Ranney
Malvestuto, S. P. 1996. Sampling the recreational creel. Pages 591-623 in B. R. Murphy and D. W. Willis, editors. Fisheries techniques, 2nd edition. American Fisheries Society, Bethesda, Maryland.
calculate_rse(rnorm(100, 10, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.