Learn R Programming

DEPONS2R (version 1.2.2)

crs: Get or set map projection in Depons* objects

Description

Get or set the map projection (also known as coordinate reference system, crs) of DeponsRaster and DeponsTrack objects. For sp objects the text string defining the crs is called the proj4string.

Usage

# S4 method for DeponsTrack
crs(x)

# S4 method for DeponsShips crs(x)

# S4 method for DeponsRaster crs(x)

# S4 method for DeponsTrack crs(x) <- value

# S4 method for DeponsShips crs(x) <- value

# S4 method for DeponsRaster crs(x) <- value

Arguments

x

Object of class class DeponsRaster, DeponsShips or DeponsTrack

value

proj4string identifying the map projection