Model Predictions

Share:

Description

extracts predictions from the results of BGLR function.

Usage

1
2
## 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.

Author(s)

Gustavo de los Campos, Paulino Perez Rodriguez,

See Also

BGLR.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

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


## End(Not run)