function to remove records of the oldest cycles still in records. Useful to avoid accumulating too much data which slows simulations down and makes them bulky

removeOldestCyc(records, bsp)

Arguments

records

The breeding program records object. See fillPipeline for details

bsp

The breeding scheme parameter list

Value

A records object with the first population of each list removed.

Details

records is a list of lists. This function deletes the first object of each list, excluding the F1 list.

Examples

records <- removeOldestCyc(records, bsp)
#> Error in removeOldestCyc(records, bsp): object 'bsp' not found