Description Usage Arguments Value Note Author(s) Examples
View source: R/impactFunctions.R
Conversion of a raster to the matrix format used by other simulation functions.
1 | surfaceConvert(rSurface)
|
rSurface |
The input raster with resolution and spatial extent associated
with the base raster returned by |
A list with the raster data as a matrix and spatial extent object.
Edited by CDMartinez 28 June 16
Created by CDMartinez 28 June 16
1 2 3 4 5 | library(raster)
rLogo = raster(system.file("external/rlogo.grd", package="raster"))
plot(rLogo)
mLogo = surfaceConvert(rLogo)
image(mLogo)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.