Computes the statistic of a uniformity test (see available tests below).

1 |

`x` |
a vector containing the sample values. |

`type` |
a character indicating which test is used. The choices are the following: "greenwood", "qm" (for Quesenberry-Miller), "ks" (Kolmogorov-Smirnov), "cvm" (Cramer-Von Mises) and "V" (D+ + D- from Kolmogorov-Smirnov). |

`transform` |
an optional character indicating what type of transformation should be applied before testing uniformity. Default is NULL. |

A real number equal to the statistic of the specified test.

O. Roustant

D Agostino R.B., Stephens M.A. (1986), Goodness-of-fit techniques, CRC Press, New York.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.