whereIsID: whereIsID function

Description Usage Arguments Details Value Examples

View source: R/PopulationImprovement.R

Description

Function to figure out where an ID is in the records

Usage

1
whereIsID(id, records)

Arguments

id

String id use in AlphaSimR

records

The breeding program records object. See fillPipeline for details

Details

Goes through the records to find the last time id was phenotyped

Value

Integer vector with the stage and cycle where the id was found or c(NA, NA)

Examples

1
stgCyc <- whereIsID(id, records)

jeanlucj/AlfSimHlpR documentation built on Nov. 7, 2021, 5:10 p.m.