Learn R Programming

amber (version 1.0.3)

intFun.isRaster: Reproject coastline

Description

This function assesses whether an R object is a raster. The original code was copied from intFun.isRaster (spatial.tools_1.6.0)

Usage

intFun.isRaster(x)

Arguments

x

An R object such as a raster or a number

Examples

Run this code
# NOT RUN {
x <- 1
intFun.isRaster(x)
y <- raster::raster(matrix(seq(1,10), ncol = 2))
intFun.isRaster(y)

# }

Run the code above in your browser using DataLab