powered by
GenerateSamples generates all possible genotypic compositions (AA,AB,BB) for a given sample size n.
GenerateSamples
n
GenerateSamples(n = 5)
the desired sample size
returns a matrix with in each row a possible genotypic compostion for the given sample size.
# NOT RUN { GenerateSamples(5) # }
Run the code above in your browser using DataLab