| PermutationPval | R Documentation |
Calculate permutation based p-values.
PermutationPval(
x,
X.perm,
alternative = c("two.sided", "less", "greater"),
p.adjust.method = "BH",
condition = 0
)
x |
A numerical vector. |
X.perm |
A matrix contains permutation result of x. |
alternative |
Alternative hypothesis used, default is |
p.adjust.method |
Method used for multiple comparisons correction, default is |
condition |
Value under null hypothesis to compare with, default is 0. |
A list containing the following:
p.val, permutation based p-value.
p.adj, adjusted p-values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.