Learn R Programming

IBDhaploRtools (version 1.8)

return.ibd.val: return ibd value

Description

utility function that returns the index of a 1, if there is one in this vector

Usage

return.ibd.val(col.dat)

Arguments

col.dat
a vector of all zeros with at most a single 1