Predict the output for a new dataset from a trained Maxnet model.
# S4 method for Maxnet
predict(
object,
data,
type = c("link", "exponential", "cloglog", "logistic"),
clamp = TRUE
)
A vector with the predicted values.
Maxnet object.
data.frame with the data for the prediction.
character. Maxnet output type, possible values are "link", "exponential", "cloglog" and "logistic".
logical for clumping during prediction.
Sergio Vignali
Used by the predict,SDMmodel-method, not exported.