Perform expectation-maximization algorithm to infer Vg and Ve values for a pair of traits.
MphEM(
max_iter = 10000,
max_prec = 1/1e+06,
eval,
X,
Y,
V_g,
V_e,
verbose_output = FALSE
)maximum number of iterations for EM algorithm
maximum precision for EM algorithm
vector of eigenvalues from relatedness matrix decomposition
design matrix. Typically contains founder allele dosages.
matrix of phenotype values
genetic covariance matrix
error covariance matrix
logical indicating whether to output entire collection of intermediate values for all iterations. Default is FALSE.
a list of lists. Length of list corresponds to number of EM iterations