Description Usage Arguments Value Author(s) Examples

This function implements the original definition of the two-dimensional Kolmogorov-Smirnov test by Peacock (1983). This test is not the widely used Fasano-Franceschini test (1987). The latter is a variant the Peacock test.

1 | ```
peacock2(x, y)
``` |

`x` |
x is the object representing the first sample. x should be able to be converted a matrix, where each row represents a sample point. If the object cannot be converted to a matrix, the function will stop and throw an error message. Pleaste note that only the first two columns of the matrix will be used, and the rest columns are just ingored. |

`y` |
Similar to x, y is the object representing the second sample. |

the value of the test statistic

Yuanhui Xiao

1 2 3 4 |

```
[1] 0.5416667
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.