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_data
a
data.frame
combiningdata.species
,coord
,data.env.var
(andPA.table
) slots ofBIOMOD.formated.data
(orBIOMOD.formated.data.PA
) objectget_eval_data
a
data.frame
combiningeval.data.species
,eval.coord
,eval.data.env.var
slots ofBIOMOD.formated.data
orBIOMOD.formated.data.PA
objectget_options
a
BIOMOD.stored.options-class
object from themodels.options
slot of aBIOMOD.models.out-class
objectget_calib_lines
a
BIOMOD.stored.data.frame-class
object from thecalib.lines
slot of aBIOMOD.models.out
objectget_projected_models
a
vector
from themodels.projected
slot of aBIOMOD.projection.out
objectget_predictions
a
BIOMOD.stored.data
object from theproj.out
slot of aBIOMOD.models.out
,BIOMOD.projection.out
orBIOMOD.ensemble.models.out
objectget_kept_models
a
vector
containing names of the kept models of aBIOMOD.ensemble.models.out
objectget_formal_data
depending on the
subinfo
parameter :NULL
a
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.names
a
vector
from theexpl.var.names
slot of aBIOMOD.models.out
orBIOMOD.ensemble.models.out
objectresp.var
a
vector
from thedata.species
slot of theformated.input.data
slot of aBIOMOD.models.out
orBIOMOD.ensemble.models.out
objectexpl.var
a
data.frame
from thedata.env.var
slot of theformated.input.data
slot of aBIOMOD.models.out
orBIOMOD.ensemble.models.out
objectMinMax
a
list
of minimum and maximum values (or levels if factorial) of variable contained in thedata.env.var
slot of theformated.input.data
slot of aBIOMOD.models.out
orBIOMOD.ensemble.models.out
objecteval.resp.var
a
vector
from theeval.data.species
slot of theformated.input.data
slot of aBIOMOD.models.out
orBIOMOD.ensemble.models.out
objecteval.expl.var
a
data.frame
from theeval.data.env.var
slot of theformated.input.data
slot of aBIOMOD.models.out
orBIOMOD.ensemble.models.out
object
get_built_models
a
vector
from themodels.computed
slot (orem.computed
) of aBIOMOD.models.out
(orBIOMOD.ensemble.models.out
) objectget_evaluations
a data.frame from the
models.evaluation
slot (ormodel_evaluation
of 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_Modeling
function ; for evaluation data, seeeval.[...]
parameters inBIOMOD_FormatingData
.get_variables_importance
a
BIOMOD.stored.data.frame-class
from thevariables.importance
slot (ormodel_variables_importance
of 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