Description Usage Arguments Value Examples
Run a two-dimensional Kolmogorov-Smirnov test as defined by by Fasano and Franceschini (1987). Allows for specification of the number of randomization to perform and the desired alpha level.
1 | Fasano_2DKS(xcol, ycol, rands = 5000, alpha = 0.05)
|
xcol |
a vector of x values |
ycol |
a vector of y values |
rands |
A numeric indicating how many randomizations to perform. Default is 5000. |
alpha |
A numeric between 0 and 1 for the desired alpha level. Default is 0.05. |
A data frame of summary values and statistics (the maximum D-value; the x, y, and p values at the maximum D-value; and the minimum and maximum x and y values for the statistically-significant observations)
1 2 3 4 5 6 7 8 9 10 11 12 | xcol <- rnorm(10)
ycol <- rnorm(10)
Fasano_2DKS(xcol, ycol, rands = 2000, alpha = 0.05)
## Not run:
xcol <- rnorm(10)
ycol <- rnorm(5)
Fasano_2DKS(xcol, ycol, rands = 2000, alpha = 0.05)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.