Description Usage Arguments Value Author(s) Examples
This function takes two vectors of values and compares them, to determine if they come from the same distribution.
1 | KStest(x1, x2)
|
x1 |
A vector of values. Defaults to NULL. |
x2 |
A vector of values. Defaults to NULL. |
A list object, containing the following list elements.
ks$pvalue A pvalue indicating the confidence that the data are the same distribution.
ks$statistics The KS test statistic for comparing the two data sets.
Jennifer Starling
1 2 3 | ## Define ctrl object.
x <- rnorm(1000,0,1)
myProbHist(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.