Description Usage Arguments Examples
Performs two-sample Kolmogorov-Smirnov tests based on the
dgof::ks.test
from the dgof
package
and the Monte Carlo replicates from the mc_gini_test
1 2 |
x |
a vector of counts or the name of a column of counts in data |
data |
a data frame |
simulate.p.value |
logical to indicate if KS-test p-value should be calculated using Monte Carlo simulation |
B |
number of replicates of the null hypothesis distribution, and of
the KS-test p-value if simulate.p.value is |
alternative |
Alternative hypothesis: The CDF is above the null |
family |
the distribution of the null hypothesis |
1 | my_ks_test(x = "extortions", data = testdata, family = "poisson")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.