Last chance! 50% off unlimited learning
Sale ends in
A generic function to get predictions for statistical models.
get_predictions(model.obj, classify, pred.obj = NULL, ...)# S3 method for default
get_predictions(model.obj, ...)
# S3 method for asreml
get_predictions(model.obj, classify, pred.obj = NULL, ...)
# S3 method for lm
get_predictions(model.obj, classify, ...)
# S3 method for lmerMod
get_predictions(model.obj, classify, ...)
# S3 method for lmerModLmerTest
get_predictions(model.obj, classify, ...)
A list containing predictions, standard errors, degrees of freedom, response variable label, and aliased names.
A model object. Currently supported model objects are asreml, aov/lm, lmerMod/lmerModLmerTest.
Name of predictor variable as a string.
Optional precomputed prediction object.
Additional arguments passed to specific methods.