phenoRecFromPop: phenoRecFromPop function

Description Usage Arguments Details Value Examples

View source: R/AnalysisFunctions.R

Description

function to make a tibble to be added to records

Usage

1
phenoRecFromPop(pop, bsp, stage, checks = FALSE)

Arguments

pop

The population from which to extract phenotypic records. Has to have been phenotyped

bsp

The breeding scheme parameter list

stage

At what stage of the breeding scheme this population was phenotyped. Necessary to determine the error variance and degree of replication

checks

Whether this was a population of experimentals or checks. Necessary to determine the degree of replication

Details

The tibbles coming from this function will be incorporated into records useful for maintaining the phenotypic observations across years and stages. For analysis, you need these phenotypes coupled to their ids and error variances

Value

A tibble of phenotypic records with six columns: 1. The id, 2. The id of the mother, 3. The id of the father, 4. The name of the stage, 5. The actual phenotype, 6. The error variance of the phenotype

Examples

1
phenoDF <- phenoRecFromPop(pop, bsp, stage)

jeanlucj/AlfSimHlpR documentation built on Nov. 7, 2021, 5:10 p.m.