Learn R Programming

biomod2 (version 3.4.6)

BIOMOD_ConvertOldRun: Convert objects and outputs from BIOMOD.xx into biomod2.xx objects and outputs

Description

This function converts workspace, modelling outputs, results and objects created with version xx of BIOMOD into biomod2 objects and re-organized the directories to be used with biomod2

Usage

BIOMOD_ConvertOldRun(savedObj, path = NULL)

Arguments

savedObj

a BIOMOD.1.xx workspace image. It's a .Rdata file named 'Biomod_run.RData' for plurispecific run or Your_Species_Name.RData if you have done monospecific modelling

path

Optional path to your 'savedObj' if you don't have give the full path to the object

Value

A list of 'BIOMOD.models.out' (one per species modeled) containing information of your old run. Specific directories are also created on your hard drive (see BIOMOD_Modeling)

Details

This function is useful to convert former BIOMOD runs into the new biomod2 object structure. This is mostly interesting in the case users want to relaunched some projections or analyses within the biomod2 new structure. Returned 'BIOMOD.models.out' objects can be then used as classic object for making projections for instance (BIOMOD_Projection).

Be aware that because biomod2 has strongly changed between the first and second version, some new additional functions and information could not be used with converted objects (i.e. Calibration Lines access, Maxent run, SRE projections...).

See Also

BIOMOD_Modeling