function to make a data.frame to be used as a source of data to analyze the phenotypic records

framePhenoRec(records, bsp)

Arguments

records

The breeding program records object. See fillPipeline for details

bsp

The breeding scheme parameter list

Value

A data.frame of phenotypic records with four columns: 1. The id of individuals; 2. The trial type of the phenotype record; 3. The year the observation was recorded; 4. The phenotypic value

Details

records is a list of lists of populations and is primarily useful for maintaining the phenotypic observations across years and stages. For analysis, you need just the phenotypes in a matrix with relevant independent values

Examples

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