Predict from a BayesA Fit
Predict from a BayesA Fit
Description
Computes GEBVs and prediction metrics from a run_bayesa fit. Behaviour and return value are identical to predict.masbayes_bayesr; see that page for usage modes and examples.
Usage
## S3 method for class 'masbayes_bayesa'
predict(object, newdata = NULL, y_new = NULL, X_new = NULL, ...)
Arguments
object
|
An object of class masbayes_bayesa.
|
newdata
|
Optional numeric design matrix. |
y_new
|
Optional response vector for newdata.
|
…
|
Unused. |
Value
An object of class masbayes_prediction.
See Also
run_bayesa, summary.masbayes_bayesa, predict.masbayes_bayesr