View source: R/misc_functions.R
zt | R Documentation |
zt
returns the z-score (number of standard deviations from the mean)
of the input given a mean and variance
zt(obs, mean, sd, absval = T)
obs |
(numeric) value or vector of values |
mean |
(numeric) the mean that should be used for calculation of z |
sd |
(numeric) standard deviation for calculation of z |
absval |
(boolean) should the absolute value of the z-score be returned? |
(numeric) a vector of equal length to the input
zt(1, 1, 1)
zt(0, 1, 1)
zt(10, 1, 1)
zt(1:5, 1, 0.3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.