Description Usage Arguments Value
k-sample test for equality of distributions
1 | goodness_of_fit(x, group, reps = 1000, stat = "ks")
|
x |
Vector of observations |
group |
Vector of group memberships, exchangeable under the null |
reps |
Number of replications to approximate distribution (default 1000) |
stat |
either 'ks' (Kolmogorov-Smirnov, default) or 'ad' (Anderson-Darling) |
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.