Learn R Programming

BGLR (version 1.0.3)

predict.BGLR: Model Predictions

Description

extracts predictions from the results of BGLR function.

Usage

## S3 method for class '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.

See Also

BGLR.

Examples

Run this code
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