random_si {seliNDRIx} | R Documentation |
Title Construction of selection index
Description
Title Construction of selection index
Usage
random_si(data, traits, random, economic_values)
Arguments
data |
A data frame containing the fixed, random and traits |
traits |
The traits for which index values are to be estimated |
random |
The random effects |
economic_values |
The relative economic values |
Value
Results of selection index
Examples
# Example dataset
data("data", package = "seliNDRIx", envir = environment())
traits <- c("tmy", "py", "fatyield")
random <- c("sire")
economic_values <- c(1, 0.85, 0.65)
results <- random_si(data = data, traits = traits,
random = random, economic_values = economic_values)
[Package seliNDRIx version 0.1.2 Index]