MigClim.plot: Plots ascii raster ouputs of the MigClim.migrate function

Description Usage Arguments Value See Also

View source: R/MigClim.plot.R


Plots ascii raster ouputs of the MigClim.migrate function with an adequate color scale and saves the result as a JPEG or PNG file (or does simply display it in the R console).


MigClim.plot(asciiFile, outDir="", fileFormat="jpeg", fullOutput=FALSE)



Name of the main ascii raster ouput "_raster.asc" obtained when running a simulation using MigClim.migrate. If the ascii file is not located in the working directory, then the file name should include its path as well. File names should end in "_raster.asc" or "_raster".


Optional ouput directory. When this value is set to its default ("") then the ouput files are saved in the same directory as the ascii grids that are being plotted.


Format in which the ouput graphics are saved. Can be either "jpeg", "png" or "inR". If "inR" is passed as parameter value, the plotted image is not saved to disk but simply displayed in the R console.


If "TRUE" then all the intermediate ouputs for the given simulation are also plotted and saved to disk.


The function does not return any value but saves "jpeg" or "png" image files to disk, or displays a graphic in the R consile (fileFormat="inR").

See Also

MigClim.migrate ()

MigClim documentation built on May 29, 2017, 6:08 p.m.

Search within the MigClim package
Search all R packages, documentation and source code