QDEC Lab Group
  • Home
  • People
  • Research
  • Teaching
  • Publications
  • Software
  • Prospective Students
  • Links
  • R learning page
  • Null Models
    • MPower
    • CoOccur >
      • TestMatricesCO
    • Fixit
    • Contact
  • CDC_COE_PD
  • TickTechPosition2021
  • DL
  • SICA_GeoAnalyst
#Script to turn grids into ascii files to read into ARCGIS
require(rgdal)
require(sp)
require(raster)
require(maptools)
dom<-"DOM_cov.grd"
domc<-raster(dom)
writeRaster(domc, "DOM_cov.asc", format="ascii")

#Actually superior to write as a tiff, so that the projection stays
writeRaster(domc, "DOM_cov.tif", format="GTiff")
Proudly powered by Weebly