Description Usage Arguments Value
k-sample permutation test for equality of distributions
| 1 | 
| x | Vector of observations | 
| group | Vector of group memberships, exchangeable under the null | 
| strata | Vector of secondary group memberships (optional); if supplied, permutations will be done within strata | 
| reps | Number of replications to approximate distribution (default 1000) | 
| stat | Test statistic: either 'oneway_anova' (default) or 'twoway_anova' | 
A vector of length 'reps' containing the permutation distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.