predict.waasb: Predict method for waasb fits

Description Usage Arguments Value Author(s) Examples

Description

Obtains predictions from an object fitted with waasb().

Usage

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

Author(s)

Tiago Olivoto tiagoolivoto@gmail.com

Examples

1
2
3
4
5
6
7
library(metan)
model <- waasb(data_ge,
               env = ENV,
               gen = GEN,
               rep = REP,
               resp = c(GY, HM))
predict(model)

metan documentation built on Nov. 10, 2021, 9:11 a.m.