Function to figure out where an ID is in the records

whereIsID(id, records)

Arguments

id

String id use in AlphaSimR

records

The breeding program records object. See fillPipeline for details

Value

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

Details

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

Examples

stgCyc <- whereIsID(id, records)
#> Error in whereIsID(id, records): could not find function "whereIsID"