Change NAs in a vector into a given value.

Depending on the value of the smallest expected count compute either a *χ^2* or Fisher's exact test.

1 | ```
nominalTest(tab, limit.exp = 5)
``` |

`tab` |
Frequency table, received by applying |

`limit.exp` |
If the smallest expected count is at most |

A list containing:

`p` |
The computed |

`test` |
A string indicating the test that was used. |

1 2 3 4 |

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.