| getters.out {biomod2} | R Documentation |
Functions to extract informations from BIOMOD.models.out,
BIOMOD.projection.out or BIOMOD.ensemble.models.out objects
Description
These functions allow the user to easily retrieve informations stored in the different biomod2 objects from the different modeling steps, such as modeling options and formated data, models used or not, predictions, evaluations, variables importance.
Usage
## S4 method for signature 'BIOMOD.formated.data'
get_species_data(obj)
## S4 method for signature 'BIOMOD.formated.data.PA'
get_species_data(obj)
## S4 method for signature 'BIOMOD.formated.data'
get_eval_data(obj)
## S4 method for signature 'BIOMOD.models.out'
get_options(obj)
## S4 method for signature 'BIOMOD.models.out'
get_calib_lines(obj, as.data.frame = FALSE, PA = NULL, run = NULL)
## S4 method for signature 'BIOMOD.models.out'
get_formal_data(obj, subinfo = NULL)
## S4 method for signature 'BIOMOD.models.out'
get_predictions(
obj,
evaluation = FALSE,
full.name = NULL,
PA = NULL,
run = NULL,
algo = NULL,
model.as.col = FALSE
)
## S4 method for signature 'BIOMOD.models.out'
get_built_models(obj, full.name = NULL, PA = NULL, run = NULL, algo = NULL)
## S4 method for signature 'BIOMOD.models.out'
get_evaluations(
obj,
full.name = NULL,
PA = NULL,
run = NULL,
algo = NULL,
metric.eval = NULL
)
## S4 method for signature 'BIOMOD.models.out'
get_variables_importance(
obj,
full.name = NULL,
PA = NULL,
run = NULL,
algo = NULL,
expl.var = NULL
)
## S4 method for signature 'BIOMOD.projection.out'
get_projected_models(
obj,
full.name = NULL,
PA = NULL,
run = NULL,
algo = NULL,
merged.by.algo = NULL,
merged.by.run = NULL,
merged.by.PA = NULL,
filtered.by = NULL
)
## S4 method for signature 'BIOMOD.projection.out'
free(obj)
## S4 method for signature 'BIOMOD.projection.out'
get_predictions(
obj,
metric.binary = NULL,
metric.filter = NULL,
full.name = NULL,
PA = NULL,
run = NULL,
algo = NULL,
merged.by.algo = NULL,
merged.by.run = NULL,
merged.by.PA = NULL,
filtered.by = NULL,
model.as.col = FALSE,
...
)
## S4 method for signature 'BIOMOD.ensemble.models.out'
get_formal_data(obj, subinfo = NULL)
## S4 method for signature 'BIOMOD.ensemble.models.out'
get_built_models(
obj,
full.name = NULL,
merged.by.algo = NULL,
merged.by.run = NULL,
merged.by.PA = NULL,
filtered.by = NULL,
algo = NULL
)
## S4 method for signature 'BIOMOD.ensemble.models.out'
get_kept_models(obj)
## S4 method for signature 'BIOMOD.ensemble.models.out'
get_predictions(
obj,
evaluation = FALSE,
full.name = NULL,
merged.by.algo = NULL,
merged.by.run = NULL,
merged.by.PA = NULL,
filtered.by = NULL,
algo = NULL,
model.as.col = FALSE
)
## S4 method for signature 'BIOMOD.ensemble.models.out'
get_evaluations(
obj,
full.name = NULL,
merged.by.algo = NULL,
merged.by.run = NULL,
merged.by.PA = NULL,
filtered.by = NULL,
algo = NULL,
metric.eval = NULL
)
## S4 method for signature 'BIOMOD.ensemble.models.out'
get_variables_importance(
obj,
full.name = NULL,
merged.by.algo = NULL,
merged.by.run = NULL,
merged.by.PA = NULL,
filtered.by = NULL,
algo = NULL,
expl.var = NULL
)
Arguments
obj |
a |
as.data.frame |
a |
PA |
(optional, default |
run |
(optional, default |
subinfo |
a |
evaluation |
a |
full.name |
(optional, default |
algo |
(optional, default |
model.as.col |
(optional, default |
metric.eval |
(optional, default |
expl.var |
(optional, default |
merged.by.algo |
(optional, default |
merged.by.run |
(optional, default |
merged.by.PA |
(optional, default |
filtered.by |
(optional, default |
metric.binary |
(optional, default |
metric.filter |
(optional, default |
... |
(optional, one or several of the following arguments depending on the selected function) |
Value
get_species_dataa
data.framecombiningdata.species,coord,data.env.var(andPA.table) slots ofBIOMOD.formated.data(orBIOMOD.formated.data.PA) objectget_eval_dataa
data.framecombiningeval.data.species,eval.coord,eval.data.env.varslots ofBIOMOD.formated.dataorBIOMOD.formated.data.PAobjectget_optionsa
BIOMOD.stored.options-classobject from themodels.optionsslot of aBIOMOD.models.out-classobjectget_calib_linesa
BIOMOD.stored.data.frame-classobject from thecalib.linesslot of aBIOMOD.models.outobjectget_projected_modelsa
vectorfrom themodels.projectedslot of aBIOMOD.projection.outobjectget_predictionsa
BIOMOD.stored.dataobject from theproj.outslot of aBIOMOD.models.out,BIOMOD.projection.outorBIOMOD.ensemble.models.outobjectget_kept_modelsa
vectorcontaining names of the kept models of aBIOMOD.ensemble.models.outobjectget_formal_datadepending on the
subinfoparameter :NULLa
BIOMOD.stored.formated.data-class(orBIOMOD.stored.models.out-class) object from theformated.input.data(ormodels.out) slot of aBIOMOD.models.out(orBIOMOD.ensemble.models.out) objectexpl.var.namesa
vectorfrom theexpl.var.namesslot of aBIOMOD.models.outorBIOMOD.ensemble.models.outobjectresp.vara
vectorfrom thedata.speciesslot of theformated.input.dataslot of aBIOMOD.models.outorBIOMOD.ensemble.models.outobjectexpl.vara
data.framefrom thedata.env.varslot of theformated.input.dataslot of aBIOMOD.models.outorBIOMOD.ensemble.models.outobjectMinMaxa
listof minimum and maximum values (or levels if factorial) of variable contained in thedata.env.varslot of theformated.input.dataslot of aBIOMOD.models.outorBIOMOD.ensemble.models.outobjecteval.resp.vara
vectorfrom theeval.data.speciesslot of theformated.input.dataslot of aBIOMOD.models.outorBIOMOD.ensemble.models.outobjecteval.expl.vara
data.framefrom theeval.data.env.varslot of theformated.input.dataslot of aBIOMOD.models.outorBIOMOD.ensemble.models.outobject
get_built_modelsa
vectorfrom themodels.computedslot (orem.computed) of aBIOMOD.models.out(orBIOMOD.ensemble.models.out) objectget_evaluationsa data.frame from the
models.evaluationslot (ormodel_evaluationof each model inem.computed) of aBIOMOD.models.out(orBIOMOD.ensemble.models.out) object. Contains evaluation metric for different models and dataset. Evaluation metric are calculated on the calibrating data (columncalibration), on the cross-validation data (columnvalidation) or on the evaluation data (columnevaluation).
For cross-validation data, seeCV.[...]parameters inBIOMOD_Modelingfunction ; for evaluation data, seeeval.[...]parameters inBIOMOD_FormatingData.get_variables_importancea
BIOMOD.stored.data.frame-classfrom thevariables.importanceslot (ormodel_variables_importanceof each model inem.models) of aBIOMOD.models.out(orBIOMOD.ensemble.models.out) object
Author(s)
Damien Georges
See Also
BIOMOD.models.out, BIOMOD.projection.out,
BIOMOD.ensemble.models.out
Other Toolbox functions:
getters.bm,
load_stored_object(),
predict.bm,
predict.em,
predict2.bm,
predict2.em