View source: R/permDistribution.R
| perm_distribution | R Documentation |
perm_distribution() calculates the permutation distribution for
several test statistics.
perm_distribution(x, y, type, randomization = FALSE, n.rep = 10000)
x |
a (non-empty) numeric vector of data values. |
y |
a (non-empty) numeric vector of data values. |
type |
a character string specifying the desired test statistic. It must
be one of |
randomization |
a logical value indicating whether the p-value should be
computed from a permutation ( |
n.rep |
an integer value specifying the number of random splits used to
calculate the randomization distribution if |
Missing values in either x or y are not allowed.
Vector with permutation distribution of the test statistic specified
by type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.