Description Usage Arguments Value Examples
Compute empirical p-values
1 | empirical_pval(t_rep, t, alternative = c("two.sided", "less", "greater"))
|
t_rep |
Vector of samples from a distribution. |
t |
Observation (numeric scalar). |
alternative |
Indicates the alternative hypothesis: must be one of "two.sided", "greater" or "less". |
Empirical p-value.
1 | empirical_pval(rnorm(1e2), 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.