Learn R Programming

Demerelate (version 0.8-1)

random.pairs: Random pairs generator

Description

Generating of random pairs from a single table with format inputformat.

Usage

random.pairs(tab.all, allele.column, pairs)

Arguments

tab.all
Dataframe containing genetic information with format inputformat.
allele.column
Loci information in column allele.column and allele.column+1.
pairs
Number of pairs to be generated.

Value

  • rand.pairsList of random pairs.

See Also

offspring

Examples

Run this code
## internal function not intended for direct usage

Run the code above in your browser using DataLab