Solves a univariate mixed model of form \(y=X\beta+M_1u_1+M_2u_2+M_3u_3+e\) using the Expectation-Maximization algorithm.
solveRRBLUP_EM3(Y, X, M1, M2, M3, Vu1, Vu2, Vu3, Ve, tol, maxIter, useEM)
a matrix with n rows and 1 column
a matrix with n rows and x columns
a matrix with n rows and m1 columns
a matrix with n rows and m2 columns
a matrix with n rows and m3 columns
initial guess for variance of the first marker effects
initial guess for variance of the second marker effects
initial guess for variance of the second marker effects
initial guess for error variance
tolerance for declaring convergence
maximum iteration for attempting convergence
should EM algorithm be used. If false, no estimation of variance components is performed. The initial values are treated as true.