This function is a wrapper around the predict
method for maxnet::maxnet,
making the function compatible with
parsnip
. Users are unlikely to use this function directly. For the
parsnip
model specification for MaxEnt, see maxent()
.
maxnet_predict(
object,
newdata,
type = c("class", "prob"),
maxnet_type = c("cloglog", "link", "exponential", "logistic"),
clamp = TRUE
)
a tibble of predictions
the maxnet::maxnet object
the dataframe of new data
either "prob" or "class"
the transformation used for the prediction
logical, defining whether clamping to observed ranges should be used