Learn R Programming

purgeR (version 1.8.2)

idx_ancestors: Index ancestors

Description

Creates a vector of length N (the number of individuals) Only coordinates for valid ancestors will be given

Usage

idx_ancestors(ids, N)

Value

A logical matrix.

Arguments

ids

Ancestor identities

N

Total number of individuals