biomod2_ensemble_model
objectsR/biomod2_classes_5.R
predict2.em.Rd
This function allows the user to predict single models from
biomod2_ensemble_model
on (new) explanatory variables.
# S4 method for class 'biomod2_ensemble_model,SpatRaster'
predict2(object, newdata, predfun, seedval = NULL, ...)
# S4 method for class 'biomod2_ensemble_model,data.frame'
predict2(object, newdata, predfun, seedval = NULL, ...)
# S4 method for class 'EMmean_biomod2_model,SpatRaster'
predict2(object, newdata, ...)
# S4 method for class 'EMmean_biomod2_model,data.frame'
predict2(object, newdata, ...)
# S4 method for class 'EMmedian_biomod2_model,SpatRaster'
predict2(object, newdata, ...)
# S4 method for class 'EMmedian_biomod2_model,data.frame'
predict2(object, newdata, ...)
# S4 method for class 'EMcv_biomod2_model,SpatRaster'
predict2(object, newdata, ...)
# S4 method for class 'EMcv_biomod2_model,data.frame'
predict2(object, newdata, ...)
# S4 method for class 'EMci_biomod2_model,SpatRaster'
predict2(object, newdata, ...)
# S4 method for class 'EMci_biomod2_model,data.frame'
predict2(object, newdata, ...)
# S4 method for class 'EMca_biomod2_model,SpatRaster'
predict2(object, newdata, data_as_formal_predictions = FALSE, ...)
# S4 method for class 'EMca_biomod2_model,data.frame'
predict2(object, newdata, data_as_formal_predictions = FALSE, ...)
# S4 method for class 'EMwmean_biomod2_model,SpatRaster'
predict2(object, newdata, data_as_formal_predictions = FALSE, ...)
# S4 method for class 'EMwmean_biomod2_model,data.frame'
predict2(object, newdata, data_as_formal_predictions = FALSE, ...)
a biomod2_ensemble_model
object
a data.frame
or SpatRaster
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.SpatRaster
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
describing whether newdata
is given as raw environmental
data (FALSE
) or as formal predictions of the individual models
used to build the ensemble model (TRUE
).
(optional)
Other Toolbox functions:
getters.bm
,
getters.out
,
load_stored_object()
,
predict.bm
,
predict.em
,
predict2.bm