This function is wrapper to update objects construct with a old version of biomod2 to a current one
Usage
update_objects(obj, recursive=TRUE)
Arguments
obj
a biomod2 object you want to update (e.g. 'BIOMOD.formated.data', 'biomod2_model' object)
recursive
logical, if TRUE all objects on which updated object is based will be also updtaed
Value
the updated version of the biomod2 object is return
Details
This function will add/change/delete all object slots that have evolved between 2 versions of the package.
If necessary, objects stored on hard drive will also be updated.