SG {EstimateBreed} | R Documentation |
General Selection Gain Function
Description
Computes selection gain using different selection methods
Usage
SG(
Var,
h,
VF = NULL,
P = "1",
DS = NULL,
Year = NULL,
method = "pressure",
verbose = FALSE
)
Arguments
Var |
The column with the name of the variables of interest |
h |
The column with the restricted heritability values |
VF |
The column with the phenotypic variance values (optional) |
P |
The column with the progeny values or selection pressure (optional) |
DS |
The column with the selection differential values (optional) |
Year |
The column with the year of selection (optional) |
method |
The selection method: 'pressure', 'differential', 'genitor_control", or 'year_weighted' |
verbose |
Logical argument. Runs the code silently if FALSE. |
Value
A data frame with selection gain results
Author(s)
Willyan Junior Adorian Bandeira
Ivan Ricardo Carvalho
Murilo Vieira Loro
Leonardo Cesar Pradebon
Jose Antonio Gonzalez da Silva
Examples
library(EstimateBreed)
SG(Var = c("A", "B", "C"), h = 0.5, VF = 1.2, P = "10", method = "pressure")
SG(Var = c("A", "B", "C"), h = 0.5, DS = 1.5, method = "differential")
SG(Var = c("A", "B", "C"), h = 0.5, VF = 1.2, P = "10", method = "genitor_control")
SG(Var = c("A", "B", "C"), h = 0.5, VF = 1.2, P = "10", Year = 5, method = "year_weighted")
[Package EstimateBreed version 1.0.1 Index]