predict.BGLR: Model Predictions

Description Usage Arguments Author(s) See Also Examples

View source: R/methods.R

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)

BGLR documentation built on May 29, 2017, 10:53 a.m.

Search within the BGLR package
Search all R packages, documentation and source code