function to calculate the mean genotypic value at each cycle and stage WARNING: right now, checks are kept in the population records and they are included in the means that are calculated

mean_records(records)

Arguments

records

The breeding program records object. See fillPipeline for details

Value

Real matrix with breeding program cycles in rows and product pipeline stages in columns, each cell being the mean genotypic value for that year and stage

Details

The records object is a list of lists of populations. This function takes those lists and returns the poplation means in a matrix

Examples

recordMeans <- mean_records(records)
#> Error in mean_records(records): object 'records' not found