data.frame object that contains 4 columns:
$Line: Line or genotype identifier, and the name of this column could change.
$Env: Name of the evaluated environment (s).
$Trait: Name of the evaluated trait (s).
$Response: Variable response obtained for the row corresponding to line and environment.
onlyTrait
logical by default is FALSE, if is TRUE only the column $Trait is transformed.
Value
A data.frame object with the $Response divided by $Traits columns.
# NOT RUN { data('Wheat_IBCF')
M <- getMatrixForm(Wheat_IBCF)
# }# NOT RUN {# }# NOT RUN { data('Year_IBCF')
M.Y <- getMatrixForm(Year_IBCF, onlyTrait = T)
# }