Skip to contents

The same method as Msm098(), re-exported under this name; both run the same code.

Usage

Msm102(...)

Arguments

...

Passed unchanged to Msm098().

Value

The list returned by Msm098().

References

Montesinos Lopez, Montesinos Lopez & Crossa (2022), Multivariate Statistical Machine Learning Methods for Genomic Prediction, Springer. DOI 10.1007/978-3-030-89010-0.

Examples

set.seed(17)
G <- crossprod(matrix(rnorm(16), 4)) / 4 + diag(0.1, 4)
Msm102(n = 4L, X_E = model.matrix(~ factor(c(1, 1, 2, 2)) - 1), Z_L = diag(4), L_g = t(chol(G)))$estimate
#> [1] 6