Skip to contents

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

Usage

Msm119(...)

Arguments

...

Passed unchanged to Msm115().

Value

The list returned by Msm115().

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)
Msm119(X, y, beta0 = c(0, 0), beta = matrix(0.3, 2, 2), lam = 1)$estimate
#> [1] -24.27971