Description Usage Arguments Details
Calculates the two-sample Kolmogorov-Smirnov statistic
1 2 3 | ks(sample_1, sample_2)
CAB.ks( sample1, sample2 )
|
sample1 |
Numeric vector of samples |
sample2 |
Numeric vector of samples |
The KS statistic is computed the same way as it is in the ks.test
function in the stats
package. We just stripped away all the other stuff so that it is faster.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.