Learn R Programming

IBDLabels (version 1.1)

maxlabel: Maximum Label for given number gametes

Description

Get the maximum label for given number of gametes, the label corresponding to the vector 1:ngam.

Usage

maxlabel(ngam)

Arguments

ngam
Number of gametes

Value

Returns maximum label. Note that minimum label is always zero.

Examples

Run this code

maxlabel( ngam = 4 )
maxlabel( ngam = 10 ) 


Run the code above in your browser using DataLab