TiagoOlivoto / metan

Package for multi-environment trial analysis
https://tiagoolivoto.github.io/metan/
GNU General Public License v3.0
35 stars 17 forks source link

Inclusion of covariate to dependent trait while calculating BLUP values #27

Closed nivelive closed 1 year ago

nivelive commented 1 year ago

I want to include Anthesis silking interval (ASI) as a covariate to grain yield while calculating BLUP values and plotting them. gamem_met(Data, env = Loc_Code, gen = ENTRY, rep = REP, block = BLOCK, random= "gen", prob = 0.05, resp = "Grain Yield", verbose = TRUE) How to include covariate ASI in this code

TiagoOlivoto commented 1 year ago

There is no current way to include covariates for computing BLUPs in metan. You can only analyze both traits at once using, eg., resp = c(GY, ASI)