Skip to contents

Estimate genetic gain for selected traits

Usage

GGAIN(data, traits, first_year)

Arguments

data

data frame with columns for traits and first year of evaluation

traits

character vector of trait names

first_year

character vector of column names for first year of evaluation. The first year will be subtracted by the minimal first year for the estimation of the intercept and percentage of change

Value

data frame with columns for trait, intercept, slope, R2.adj, pvalue and percentage of change

Author

Charlotte Brault