Description Usage Arguments Value References See Also Examples

Use `xcount`

to determine the exact number of tables (i.e., genotype numbers) for a given set of allele counts. This method enumerates all tables, and is best when the total number is less than 10^10 or so. This function is mostly called by `hwx.test`

rather than directly by the user. If the number of tables is too large to enumerate with this method, use `acount`

for an approximation.

1 | ```
xcount(m, safety = 1e+10, safeSecs = 10)
``` |

`m` |
vector containing the numbers of alleles of each type. Length must be at least 2 and all must be non-negative integers. It can also be a |

`safety` |
Stop execution if the approximate table number obtained from |

`safeSecs` |
Time limit in seconds. Another safety feature to prevent getting stuck in a too-long computation |

The exact number of tables

The methods are described by Engels, 2009. **Genetics** 183:1431.

1 2 3 4 |

HWxtest documentation built on May 29, 2017, 3:33 p.m.

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.