biomod2_model
objectsInternal S4 method used to predict single models from
biomod2_model
on (new) explanatory variables. predict2
was introduced to allow a signature with two arguments : object
,
a type of biomod2_model
and newdata
, either a
RasterStack
or a data.frame
.
predict2(object, newdata, ...)# S4 method for biomod2_model,RasterStack
predict2(object, newdata, predfun, seedval = NULL, use_calc = FALSE, ...)
# S4 method for biomod2_model,data.frame
predict2(object, newdata, predfun, seedval = NULL, ...)
# S4 method for ANN_biomod2_model,RasterStack
predict2(object, newdata, ...)
# S4 method for ANN_biomod2_model,data.frame
predict2(object, newdata, ...)
# S4 method for CTA_biomod2_model,RasterStack
predict2(object, newdata, ...)
# S4 method for CTA_biomod2_model,data.frame
predict2(object, newdata, ...)
# S4 method for FDA_biomod2_model,RasterStack
predict2(object, newdata, ...)
# S4 method for FDA_biomod2_model,data.frame
predict2(object, newdata, ...)
# S4 method for GAM_biomod2_model,RasterStack
predict2(object, newdata, ...)
# S4 method for GAM_biomod2_model,data.frame
predict2(object, newdata, ...)
# S4 method for GBM_biomod2_model,RasterStack
predict2(object, newdata, ...)
# S4 method for GBM_biomod2_model,data.frame
predict2(object, newdata, ...)
# S4 method for GLM_biomod2_model,RasterStack
predict2(object, newdata, ...)
# S4 method for GLM_biomod2_model,data.frame
predict2(object, newdata, ...)
# S4 method for MARS_biomod2_model,RasterStack
predict2(object, newdata, ...)
# S4 method for MARS_biomod2_model,data.frame
predict2(object, newdata, ...)
# S4 method for MAXENT.Phillips_biomod2_model,RasterStack
predict2(object, newdata, ...)
# S4 method for MAXENT.Phillips_biomod2_model,data.frame
predict2(object, newdata, do_raster = FALSE, newraster = NULL, ...)
# S4 method for MAXENT.Phillips.2_biomod2_model,RasterStack
predict2(object, newdata, ...)
# S4 method for MAXENT.Phillips.2_biomod2_model,data.frame
predict2(object, newdata, ...)
# S4 method for RF_biomod2_model,RasterStack
predict2(object, newdata, ...)
# S4 method for RF_biomod2_model,data.frame
predict2(object, newdata, ...)
# S4 method for SRE_biomod2_model,RasterStack
predict2(object, newdata, ...)
# S4 method for SRE_biomod2_model,data.frame
predict2(object, newdata, ...)
a biomod2_model
object
a data.frame
or
RasterStack
object containing data for new
predictions
a function
, generated by the predict2
method
specific to each biomod2_model
subclass and used within the
generic predict2.biomod2_model.RasterStack
or
predict2.biomod2_model.data.frame
to do the prediction
(optional, default NULL
)
An integer
value corresponding to the new seed value to be set
(optional, default FALSE
). A boolean used for
the RasterStack
methods, when
predict.RasterStack
cannot be used and calc
must be used instead.
(optional, default NULL
). A boolean used with
MAXENT.Phillips
, so that the
RasterStack
method can use the
data.frame
method.
(optional, default NULL
). A
raster
used by the MAXENT.Phillips
method so that the data.frame
method can transform its results
back into RasterStack
when do_raster =
TRUE
.
(optional))
Remi Patin
biomod2_model
Other Toolbox functions:
getters.bm
,
getters.out
,
load_stored_object()
,
predict.bm
,
predict.em
,
predict2.em