Rdocumentation
powered by
Learn R Programming
asbio (version 1.0-5)
see.HW: Visualize the Hardy Weinberg equlibrium
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$$