Learn R Programming

move (version 3.2.2)

equalProj: Checks projections for being equal

Description

Checks whether all objects of a list are in the same projection.

Usage

# S4 method for list
equalProj(x)

Arguments

x

a list of projected objects of class raster, move, moveStack, moveBurst, DBBMM, DBBMMStack, DBBMMBurstStack, dynBGB

Value

TRUE or FALSE It returns TRUE if none of the objects have a proj4string.

Details

equalProj checks for equal projections using the function of identicalCRS from the package sp. It returns TRUE if none of the objects have a proj4string.

Examples

Run this code
# NOT RUN {
data(ricky)
data(leroy)
data(leroydbbmm)

equalProj(list(leroydbbmm,leroydbbmm))
equalProj(list(leroy,leroydbbmm))
equalProj(list(leroy,ricky))
# }

Run the code above in your browser using DataLab