Learn R Programming

BGLR (version 1.1.3)

predict.BGLR: Model Predictions

Description

extracts predictions from the results of BGLR function.

Usage

# S3 method for BGLR
predict(object, newdata, ...)

Arguments

object

An object of class BGLR.

newdata

Currently not supported, for new data you should assing missing value indicator (NAs) to the corresponding entries in the response vector (y).

...

Further arguments passed to or from other methods.

Author

Gustavo de los Campos, Paulino Perez Rodriguez,

See Also

BGLR.

Examples

Run this code

if (FALSE) {

setwd(tempdir())
library(BGLR)
data(wheat)
out=BLR(y=wheat.Y[,1],XL=wheat.X)
predict(out)

}

Run the code above in your browser using DataLab