View source: R/predict.maxnet.R
predict.maxnet | R Documentation |
Prediction can be on a spatial raster or vector space.
## S3 method for class 'maxnet' predict( object, newdata, clamp = T, type = c("link", "exponential", "cloglog", "logistic"), ... )
object |
an object of class "maxnet", i.e., a fitted model. |
newdata |
values of predictor variables to predict to, possibly
matrix, data.frame, |
clamp |
logical, f true, predictors and features are restricted to the range seen during model training. |
type |
character, type of response required. Using
|
... |
not used |
vector with predicted values (one per input row), SpatRaster
or stars
object of predicted values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.