is.Raster: Tests if an input is a RasterLayer, RasterBrick, or a...

Description Usage Arguments Value Author(s) Examples

View source: R/is.Raster.R

Description

Tests if an input is a RasterLayer, RasterBrick, or a RasterStack.

Usage

1

Arguments

x

an R Object.

Value

A logical vector.

Author(s)

Jonathan A. Greenberg

Examples

1
2
3
4
5
6
7
library("raster")
tahoe_highrez <- brick(system.file("external/tahoe_highrez.tif", package="spatial.tools"))
is.Raster(tahoe_highrez)
tahoe_lidar_bareearth <- 
	raster(system.file("external/tahoe_lidar_bareearth.tif", package="spatial.tools"))
is.Raster(tahoe_lidar_bareearth)
is.Raster("character")

spatial.tools documentation built on May 2, 2019, 6:52 p.m.