Description Usage Arguments Value Author(s) Examples
Tests if an input is a RasterLayer, RasterBrick, or a RasterStack.
1 | is.Raster(x)
|
x |
an R Object. |
A logical vector.
Jonathan A. Greenberg
1 2 3 4 5 6 7 8 9 | if(require(raster) && require(rgdal))
{
tahoe_highrez <- brick(system.file("external/tahoe_highrez.tif", package="gdalUtils"))
is.Raster(tahoe_highrez)
tahoe_lidar_bareearth <-
raster(system.file("external/tahoe_lidar_bareearth.tif", package="gdalUtils"))
is.Raster(tahoe_lidar_bareearth)
is.Raster("character")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.