Learn R Programming

AlphaSimR (version 2.0.0)

getCandidates: Identify candidate individuals

Description

This function handles indexing by id and negative value indexing

Usage

getCandidates(pop, candidates)

Arguments

pop

a population object

candidates

a vector of candidates (numeric or character)