predict.gamem: Predict method for gamem fits

predict.gamemR Documentation

Predict method for gamem fits

Description

Obtains predictions from an object fitted with gamem().

Usage

## S3 method for class 'gamem'
predict(object, ...)

Arguments

object

An object of class gamem

...

Currently not used

Value

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

Author(s)

Tiago Olivoto tiagoolivoto@gmail.com

Examples


library(metan)
model <- gamem(data_g,
              gen = GEN,
              rep = REP,
              resp = everything())
predict(model)



TiagoOlivoto/metan documentation built on April 28, 2024, 10:47 a.m.