idx_ancestors: Index ancestors

View source: R/partial.R

idx_ancestorsR Documentation

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)

Arguments

ids

Ancestor identities

N

Total number of individuals

Value

A logical matrix.


purgeR documentation built on Aug. 16, 2023, 9:07 a.m.