see.HW: Visualize the Hardy Weinberg equilibrium
Description
Allows interactive depiction of the Hardy Weinberg equilibrium.
Usage
see.HW(parg)
see.HW.tck()
Arguments
- parg
Proportion of the allele p in the population, i.e. a number between 0 and 1.
Details
Solves and depicts the Hardy Weinberg equilibrium, i.e:
$$pp + 2pq + qq = 1$$