Skip to contents

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

Usage

Msm045(...)

Arguments

...

Passed unchanged to Msm042().

Value

The list returned by Msm042().

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(13)
X <- matrix(rnorm(60), 30, 2)
y <- 1 + X %*% c(0.5, -1) + rnorm(30)
Msm045(X, as.numeric(y))$posterior_sd_beta
#> [1] 0.1808421 0.1862443 0.2207932