Description Usage Arguments Value Examples
Convert number of standard deviations by which the value of a raw score is above or below the mean value of what is being observed or measured.
1 2 3 | std_mean(x, na.rm = getOption("transx.na.rm"))
std_median(x, na.rm = getOption("transx.na.rm"))
|
x |
Univariate vector, numeric or ts object with only one dimension. |
na.rm |
A value indicating whether NA values should be stripped before the computation proceeds. |
Returns a vector with the same class and attributes as the input vector.
1 2 3 4 5 | x <- c(10,2,5,3)
std_mean(x)
scale(x)
std_median(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.