Learn R Programming

SDMtune (version 1.3.2)

predict,Maxnet-method: Predict Maxnet

Description

Predict the output for a new dataset from a trained Maxnet model.

Usage

# S4 method for Maxnet
predict(
  object,
  data,
  type = c("link", "exponential", "cloglog", "logistic"),
  clamp = TRUE
)

Value

A vector with the predicted values.

Arguments

object

Maxnet object.

data

data.frame with the data for the prediction.

type

character. Maxnet output type, possible values are "link", "exponential", "cloglog" and "logistic".

clamp

logical for clumping during prediction.

Author

Sergio Vignali

Details

Used by the predict,SDMmodel-method, not exported.