View source: R/writeasciigrid.R
writeasciigrid | R Documentation |
This function writes grid
, an object of class grid
as an ASCII grid to the location specified by path
. It substitutes the na.value
into NA
values in the grid prior to writing.
writeasciigrid(grid, path, na.value = -9999)
grid |
A |
path |
The path and file name to write to. |
na.value |
The value to use to represent |
Nothing is returned.
Ethan Plunkett
readasciigrid
, readasciigridheader
asgrid
for conversion from Raster objects which can be read
from many formats with raster
## Not run:
writeasciigrid(grid, "testgrid.asc")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.