Description Usage Arguments Value Author(s) References See Also
Read (and optionally clip) binary mxe files created by the Maxent habitat suitability modelling software package.
1 2 |
file |
The path to the mxe file to be read. |
ext |
(Optional) An extent to clip the grid to. This must be either an
|
snap |
Character. One of |
chunk_size |
A numeric value specifying the size of the chunk of binary
data to be read at a time (size is usually in units of KB of data).
|
return_raster |
Logical. If |
If return_raster
is TRUE
, a raster
object. If
return_raster
is FALSE
, a list is returned, with the following
elements:
xll
: The x coordinate of the lower left corner of the extent.
yll
: The y coordinate of the lower left corner of the extent.
cellsize
: The grid resolution. Note that horizontal and
vertical resolution are assumed equal.
nrow
: The number of rows of data.
ncol
: The number of columns of data.
nodata
: The nodata value.
datatype
: A character string indicating the data type.
data
: A vector whose elements are the raster cell values.
John B. Baumgartner, johnbaums@gmail.com
Peter D. Wilson
Based on "Reading mxe files with R - revisited" by Peter D. Wilson.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.