spLayer.SpatialGridDataFrame {rleafmap} | R Documentation |
Define a Raster Data Layer
Description
spLayer.SpatialGridDataFrame
defines a new data layer from an object SpatialGridDataFrame
.
Usage
## S3 method for class 'SpatialGridDataFrame'
spLayer(
x,
name = NULL,
layer,
cells.col = heat.colors(12),
cells.alpha = 1,
legend = NULL,
...
)
Arguments
x |
a spatial object (see Details). |
name |
a character string to name the layer. |
layer |
which layer to select? |
cells.col |
a vector of any of the three kinds of R color specifications giving a gradient to color the grid. |
cells.alpha |
a vector of numeric values in |
legend |
a legend object created with |
... |
additional arguments to pass to the function. |
[Package rleafmap version 0.2.1 Index]