Learn R Programming

asbio (version 1.9-2)

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.

Author

Ken Aho

Details

Solves and depicts the Hardy Weinberg equilibrium, i.e: $$pp + 2pq + qq = 1$$