predict.gamem | R Documentation |
Obtains predictions from an object fitted with gamem()
.
## S3 method for class 'gamem'
predict(object, ...)
object |
An object of class |
... |
Currently not used |
A tibble with the predicted values for each variable in the model
Tiago Olivoto tiagoolivoto@gmail.com
library(metan)
model <- gamem(data_g,
gen = GEN,
rep = REP,
resp = everything())
predict(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.