generate_gamma_delta_sigmas.Rd
Generates parameters lambda and delta of Bilinear terms.
generate_gamma_delta_sigmas(INDEX, Q, sigma)
describes number of genotypes I and environments J
number of componentes captured by the bi linear term. (number of lambdas)
sigma associated with the parameters
a matrix n_genotypes by Q or n_environments by Q
n_genotypes<-4
n_environments<-3
generate_gamma_delta_sigmas(I=n_genotypes,Q=2,sigma=2)
#> [,1] [,2]
#> [1,] 0.1499734 0.6841932
#> [2,] -0.8153193 -0.2697919
#> [3,] 0.1188741 0.2247876
#> [4,] 0.5464718 -0.6391889
generate_gamma_delta_sigmas(I=n_environments,Q=2,sigma=1)
#> [,1] [,2]
#> [1,] 0.4838792 0.65766827
#> [2,] 0.3276178 -0.74788584
#> [3,] -0.8114970 0.09021758