allogamous / EnvRtype

Provide tools for collecting environmental data from GIS-based platforms,enabling environmental characterization studies, providing environmental relatedness kinships and kernels for genomic prediction of reaction norms
24 stars 17 forks source link

Error in eigen(K) : 0 x 0 matrix #15

Open kuaileyuandi opened 10 months ago

kuaileyuandi commented 10 months ago

dim(KE$W) [1] 5 5 dim(KG$G) [1] 150 150 dim(maizeWTH) [1] 756 30 dim(maizeYield) [1] 750 3

M2 = get_kernel(K_G = K_G, K_E = K_F, data = maizeYield,env = env,gid = gid,y = y, model = "RNMM",dimension_KE = 'q') fit = kernel_model(y = y,env = env,gid = gid, data = maizeYield,random = M1,fixed = fixed)

Error in eigen(K) : 0 x 0 matrix

BaxW commented 2 months ago

personally, I get this same error when using R version 4.0.1 but not when I use version 3.6.3