Skip to contents

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

Usage

Msm118(...)

Arguments

...

Passed unchanged to Msm109().

Value

The list returned by Msm109().

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(18)
X <- matrix(rnorm(40), 20, 2); y <- sample(0:2, 20, TRUE)
Msm118(X, y, beta0 = c(0, 0), beta = matrix(0.2, 2, 2), lam = 2)$estimate
#> [1] -22.89726