Learn R Programming

rasclass (version 0.1.0)

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

accuracyAssessment, buildFormula, checkRasclass, classifyMLC, classifyMlogit, rasclass-class, rasclassRaster-class, readRaster, readRasterFolder, setRasclassData, writeRaster

Examples

Run this code
writeRaster(myRaster, path = "mypath")

Run the code above in your browser using DataLab