Learn R Programming

metan (version 1.7.0)

predict.waasb: Predict method for waasb fits

Description

Obtains predictions from an object fitted with waasb.

Usage

# S3 method for waasb
predict(object, ...)

Arguments

object

An object of class waasb

...

Currently not used

Value

A tibble with the predicted values for each variable in the model

Examples

Run this code
# NOT RUN {
library(metan)
model <- waasb(data_ge,
               env = ENV,
               gen = GEN,
               rep = REP,
               resp = c(GY, HM))
predict(model)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab