powered by
Function HWClo divides each row of a matrix by its total, and so produces matrix of compositions.
HWClo
HWClo(X)
A matrix
A matrix of (genotype) counts
Jan Graffelman jan.graffelman@upc.edu
HWAlr,HWClr,HWIlr
X <- HWData(2,100) Y <- HWClo(X)
Run the code above in your browser using DataLab