whereIsID.RdFunction to figure out where an ID is in the records
whereIsID(id, records)
| id | String id use in AlphaSimR |
|---|---|
| records | The breeding program |
Integer vector with the stage and cycle where the id was found or c(NA, NA)
Goes through the records to find the last time id was phenotyped
stgCyc <- whereIsID(id, records)#> Error in whereIsID(id, records): could not find function "whereIsID"