Description Usage Arguments Details Author(s) References See Also

Creates maximum-likelihood Hardy-Weinberg equilibrium model distribution from the observed genotype count matrix.

1 | ```
create.model(observed, n)
``` |

`observed` |
The genotype count matrix from which the Hardy-Weinberg equilibrium model distribution is created |

`n` |
Total number of genotypes. |

This function is called by HW.pval() and HW.plain() to create a model distribution.

Shubhodeep Mukherji <[email protected]>

"Testing Hardy-Weinberg equilibrium with a simple root-mean-square statistic," by Rachel Ward

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.