These functions allow the user to update the links contained in biomod2 objects, either by copying them into a new directory, or directly update in the current directory whose name has changed.

# S4 method for class 'BIOMOD.models.out'
set_new_dirname(obj, new.dir.name)

# S4 method for class 'BIOMOD.ensemble.models.out'
set_new_dirname(obj, new.dir.name)

# S4 method for class 'BIOMOD.projection.out'
set_new_dirname(obj, new.dir.name)

Arguments

obj

a BIOMOD.models.out, BIOMOD.projection.out or BIOMOD.ensemble.models.out object

new.dir.name

a character corresponding to the new folder path

Author

Hélène Blancheteau, Maya Guéguen