View source: R/PermutationTest.R
PermutationTest | R Documentation |
Old R function from Biometry that performs a permutation test on a dataset, first split into two by the grouping variable because THAT'S the most efficient way to do this.
PermutationTest(group1dat, group2dat, num_permutations, test_type = "mean")
group1dat |
data from group 1 |
group2dat |
data from group 2 |
num_permutations |
the number of permutations required |
test_type |
the desired test statistic. defaults to mean. |
out <- PermutationTest(group1dat=MaleData, group2dat=FemaleData, num_permutations=500, test_type="mean")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.