Goodness of fit test for grouped data.

1 |

`g` |
A vector with the group points, either in radians or in degrees. |

`ni` |
The frequency of each or group class. |

`m` |
The mean direction in radians or in degrees. |

`k` |
The concentration parameter, |

`dist` |
The distribution to be tested, it can be either "vm" or "uniform". |

`rads` |
If the data are in radians, this should be TRUE and FALSE otherwise. |

`R` |
The number of bootstrap simulations to perform, set to 999 by default. |

`ncores` |
The number of cores to use. |

When you have grouped data, you can test whether the data come from the von Mises-Fisher distribution or from a uniform distribution.

A list including:

`info` |
A vector with two elements, the test statistic value and the bootstrap p-value. |

`runtime` |
The runtime of the procedure. |

Michail Tsagris

R implementation and documentation: Michail Tsagris <mtsagris@yahoo.gr> and Giorgos Athineou <athineou@csd.uoc.gr>

Arthur Pewsey, Markus Neuhauser, and Graeme D. Ruxton (2013). Circular Statistics in R.

1 2 3 4 5 |

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.