View source: R/misc_functions.R
zt_p | R Documentation |
zt_p
returns p(x)
by mapping x to a normal distribution with mean
equal to zero and standard deviation equal to one using its z-score
zt_p(obs, mean, sd)
obs |
(numeric) value or vector of values |
mean |
(numeric) the mean of the gaussian being compared against |
sd |
(numeric) standard deviation of the gaussian being compared against |
(numeric) a p-value between zero and ~0.399
zt_p(1, 1, 1)
zt_p(0, 1, 1)
zt_p(1:5, 1, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.