Learn R Programming

⚠️There's a newer version (2.2-0) of this package.Take me there.

sp (version 0.9-59)

classes and methods for spatial data

Description

A package that provides classes and methods for spatial data. The classes document where the spatial location information resides, for 2D or 3D data. Utility functions are provided, e.g. for plotting data as maps, spatial selection, as well as methods for retrieving coordinates, for subsetting, print, summary, etc.

Copy Link

Version

Install

install.packages('sp')

Monthly Downloads

198,490

Version

0.9-59

License

GPL (>= 2)

Maintainer

Edzer Pebesma

Last Published

February 11th, 2010

Functions in sp (0.9-59)

GridTopology-class

Class "GridTopology" ~~~
DMS-class

Class "DMS" for degree, minute, decimal second values
Lines-class

Class "Lines"
Rlogo

Rlogo jpeg image
CRS-class

Class "CRS" of coordinate reference system arguments
SpatialPixels-class

Class "SpatialPixels" ~~~
SpatialLinesDataFrame-class

a class for spatial lines with attributes
SpatialPixelsDataFrame

define spatial grid with attribute data
as.SpatialPolygons.GridTopology

Make SpatialPolygons object from GridTopology object
is.projected

Sets or retrieves projection attributes on classes extending SpatialData
SpatialPixels

define spatial grid
Line-class

Class "Line"
degAxis

axis with degrees
Polygon-class

Class "Polygon"
mapasp

Calculate aspect ratio for plotting geographic maps
polygons

sets spatial coordinates to create spatial data, or retrieves spatial coordinates
SpatialPixelsDataFrame-class

Class "SpatialPixelsDataFrame" ~~~
as.SpatialPolygons.PolygonsList

Making SpatialPolygons objects
SpatialPoints-class

Class "SpatialPoints" ~~~
flip

rearrange data in SpatialPointsDataFrame or SpatialGridDataFrame for plotting with spplot (levelplot/xyplot wrapper)
recenter-methods

Methods for Function recenter in Package `sp'
read.asciigrid

read/write to/from (ESRI) asciigrid format
SpatialPoints

create objects of class SpatialPoints or SpatialPointsDataFrame
bbox-methods

retrieve bbox from spatial data
SpatialLines-class

a class for spatial lines
Line

create objects of class Line or Lines
loadMeuse

load the Meuse data set
SpatialPolygonsDataFrame-class

Class "SpatialPolygonsDataFrame"
Polygons-class

Class "Polygons"
meuse.grid

Prediction Grid for Meuse Data Set
SpatialPolygons

create objects of class SpatialPolygons or SpatialPolygonsDataFrame
panel.spplot

panel and panel utility functions for spplot
SpatialGrid-class

Class "SpatialGrid" ~~~
bubble

Create a bubble plot of spatial data
stack

rearrange data in SpatialPointsDataFrame or SpatialGridDataFrame for plotting with spplot (levelplot/xyplot wrapper)
SpatialLines

create objects of class SpatialLines or SpatialLinesDataFrame
meuse.riv

River Meuse outline
overlay-methods

Methods for spatially overlay-ing points (grids) and polygons layers
polygons-methods

Retrieve polygons from SpatialPolygonsDataFrame object
spplot

Plot methods for spatial data with attributes
select.spatial

select points spatially
sp

A package providing classes and methods for spatial data: points, lines, polygons and grids
SpatialPolygons-class

Class "SpatialPolygons"
meuse.grid_ll

Prediction Grid for Meuse Data Set, geographical coordinates
overlay

spatial overlay for points, grids and polygons
Spatial-class

Class "Spatial"
coordnames-methods

retrieve or assign coordinate names for classes in sp
spChFIDs-methods

change feature IDs in spatial objects
SpatialGridDataFrame-class

Class "SpatialGridDataFrame"
coordinates

sets spatial coordinates to create spatial data, or retrieves spatial coordinates
bpy.colors

blue-pink-yellow color scheme that prints well on black/white printers
coordinates-methods

retrieve (or set) spatial coordinates
char2dms

Convert character vector to DMS-class object
spsample

sample point locations in (or on) a spatial object
point.in.polygon

do point(s) fall in a given polygon?
compassRose

Display a compass rose.
gridded-methods

specify spatial data as being gridded, or find out whether they are
dimensions-methods

retrieve spatial dimensions from spatial data
nowrapSpatialLines

Split SpatialLines components at offset
meuse

Meuse river data set
SpatialPointsDataFrame-class

Class "SpatialPointsDataFrame"
gridlines

Create N-S and E-W grid lines over a geographic region
zerodist

find point pairs with equal spatial coordinates
spDistsN1

Euclidean or Great Circle distance between points
image.SpatialGridDataFrame

image gridded spatial data, or convert to format for image