removeOldestCyc.Rdfunction 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)
| records | The breeding program |
|---|---|
| bsp | The breeding scheme parameter list |
A records object with the first population of each list removed.
records is a list of lists. This function deletes the first object of each list, excluding the F1 list.
records <- removeOldestCyc(records, bsp)#> Error in removeOldestCyc(records, bsp): object 'bsp' not found