rasclass (version 0.2.2)

writeRaster: Load ESRI asciigrid Data for Classification

Description

This function exports the information in a rasclassRaster object into an external ESRI asciigrid file.

Usage

writeRaster(object, path = "predictedGrid.asc")

Arguments

object
A rasclassRaster object.
path
Optional path to write ascii file, the default writes a file "predictedGrid.asc" into the workspace folder.

References

ESRI ASCII raster format definition.

http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/ESRI_ASCII_raster_format/009t0000000z000000/

See Also

rasclass-package, rasclass-class, rasclassRaster-class,

readRaster,

readRasterFolder, setRasclassData,

buildFormula, checkRasclass,

rasclassMlc, classifyRasclass

Examples

Run this code
## Not run: 
# writeRaster(myRaster, path = "mypath")
# ## End(Not run)

Run the code above in your browser using DataLab