View source: R/predictEnmSdm.r
predictEnmSdm | R Documentation |
This is a generic predict function that automatically uses the model common arguments for predicting models of the following types: linear models, generalized linear models (GLMs), generalized additive models (GAMs), random forests, boosted regression trees (BRTs)/gradient boosting machines (GBMs), conditional random forests, Maxent, and more.
predictEnmSdm( model, newdata, maxentFun = "dismo", cores = 1, nrows = nrow(newdata), ... )
model |
Object of class |
newdata |
Data frame or matrix with data to which to predict |
maxentFun |
This argument is only used if the |
cores |
Number of cores to use. The default is 1. If >1 and |
nrows |
Number of rows of |
... |
Arguments to pass to the algorithm-specific |
Numeric.
predict
from the stats package, predict
from the dismo package, predict
from the raster package, predict
from the terra package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.