Permutation tests in R: let your data build its own null distribution
Introduction
Example 1: two independent groups (PlantGrowth)
A small simulation study
The difference in medians
Example 2: paired data (sleep)
When to use permutation tests, and when not to
Conclusion
Note: This post has been written in collabo...













