maxnet_predict | R Documentation |
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
)
object |
the maxnet::maxnet object |
newdata |
the dataframe of new data |
type |
either "prob" or "class" |
maxnet_type |
the transformation used for the prediction |
clamp |
logical, defining whether clamping to observed ranges should be used |
a tibble of predictions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.