raster3.6-30 package

Geographic Data Analysis and Modeling

addLayer

Add or drop a layer

adjacent

Adjacent cells

aggregate

Aggregate raster cells or SpatialPolygons/Lines

alignExtent

Align an extent (object of class Extent)

animate

Animate layers of a Raster* object

approxNA

Estimate values for cell values that are NA by interpolating between...

area

Size of cells

Arith-methods

Arithmetic with Raster* objects

as.character

Character representation of a Raster or Extent object

as.data.frame

Get a data.frame with raster cell values, or coerce SpatialPolygons, L...

as.list

Create a list of RasterLayer objects

as.logical-methods

Change cell values to logical or integer values

as.matrix

Get a vector, matrix, or array with raster cell values

as.raster

Coerce to a 'raster' object

atan2

Two argument arc-tangent

autocor

Spatial autocorrelation

bands

Number of bands

barplot

Bar plot of a RasterLayer

bind

Bind Spatial* objects

blockSize

Block size for writing files

boundaries

boundaries (edges) detection

boxplot

Box plot of Raster objects

brick

Create a RasterBrick object

buffer

buffer

calc

Calculate

cellFrom

Get cell, row, or column number

cellsFromExtent

Cells from extent, and vice versa

cellStats

Statistics across cells

clamp

Clamp values

clearValues

Clear values

click

Query by clicking on a map

clump

Detect clumps

cluster

Use a multi-core cluster

colortable

colortable

Compare-methods

Compare Raster* objects

compare

Compare Raster objects

compareCRS

Partially compare two CRS objects

contour

Contour plot

coords

Coordinates of the Extent of a Raster object

corLocal

Local correlation coefficient

cover

Replace NA values with values of other layers

crop

Crop

crosstab

Cross-tabulate

cut

Convert values to classes

cv

Coefficient of variation

datasource

Are values in memory and/or on disk?

dataType

Data type

density

Density plot

dimensions

Dimensions of a Raster* object

direction

Direction

disaggregate

Disaggregate

distance

Distance

distanceFromPoints

Distance from points

draw

Draw a line or polygon

drawExtent

Create an Extent object by drawing on a map

erase

Erase parts of a SpatialPolygons* or SpatialLines* object. The inverse...

extend

Extend

extension

Filename extensions

Extent-class

Class "Extent"

extent

Extent

extract

Extract values from Raster objects

extractIndex

Indexing to extract values of a Raster* object

extremeValues

Minimum and maximum values

factor

Factors

filename

Filename

filledContour

Filled contour plot

flip

Flip

flowpath

Flow path

focal

Focal values

focalWeight

Focal weights matrix

freq

Frequency table

gainoffset

Gain and offset of values on file

geom

Get the coordinates of a vector type Spatial* object

getData

Get geographic data

getValues

Get raster cell values

getValuesBlock

Get a block of raster cell values

getValuesFocal

Get focal raster cell values

gridDistance

Distance on a grid

hdrFiles

Header files

headtail

Show the head or tail of a Raster* object

hillShade

Hill shading

hist

Histogram

image

Image

iniFile

Read a .ini file

init

Initialize a Raster object with values

interpolate

Interpolate

intersect

Intersect

isLonLat

Is this longitude/latitude data?

KML

Write a KML or KMZ file

layerize

Layerize

layerStats

Correlation and (weighted) covariance

localFun

Local functions

Logic-methods

Logical operators and functions

mask

Mask values in a Raster object

match

Value matching for Raster* objects

Math-methods

Mathematical functions

merge

Merge Raster* objects

metadata

Metadata

modal

modal value

mosaic

Merge Raster* objects using a function for overlapping areas

movingFun

Moving functions

names

Names of raster layers

NAvalue

Set the NA value of a RasterLayer

ncell

Number or rows, columns, and cells of a Raster* object

nlayers

Number of layers

origin

Origin

overlay

Overlay Raster objects

pairs

Pairs plot (matrix of scatterplots)

persp

Perspective plot

plot

Plot a Raster* object

plotRGB

Red-Green-Blue plot of a multi-layered Raster object

pointDistance

Distance between points

predict

Spatial model predictions

programming

Helper functions for programming

projection

Get or set a coordinate reference system (projection)

projectRaster

Project a Raster object

properties

Raster file properties

quantile

Raster quantiles

Raster-classes

Raster* classes

raster-package

Overview of the functions in the raster package

raster

Create a RasterLayer object

rasterFromCells

Subset a raster by cell numbers

rasterFromXYZ

Create a Raster* object from x, y, z values

rasterize

Rasterize points, lines, or polygons

rasterOptions

Global options for the raster package

rasterTmpFile

Temporary files

rasterToContour

Raster to contour lines conversion

rasterToPoints

Raster to points conversion

rasterToPolygons

Raster to polygons conversion

Rcpp-classes

Rcpp classes

readAll

Read values from disk

reclassify

Reclassify

rectify

rectify a Raster object

replacement

Replace cell values or layers of a Raster* object

resample

Resample a Raster object

resolution

Resolution

RGB

Create a Red-Green-Blue Raster object

rotate

Rotate

rotated

Do the raster cells have a rotation?

round

Integer values

roundExtent

round Extent coordinates

rowFromCell

Row or column number from a cell number

rowSums

rowSums and colSums for Raster objects

sampleInt

Sample integer values

sampleRandom

Random sample

sampleRegular

Regular sample

sampleStratified

Stratified random sample

saveStack

Save or open a RasterStack file

scale

Scale values

scalebar

scalebar

select

Geometric subsetting

setExtent

Set the extent of a RasterLayer

setMinMax

Compute min and max values

setValues

Set values of a Raster object

shapefile

Read or write a shapefile

shift

Shift

slopeAspect

Slope and aspect

spEasy

Create SpatialLines* or SpatialPolygons*

spplot

Use spplot to plot a Raster* or other object

stack

Create a RasterStack object

stackApply

Apply a function on subsets of a RasterStack or RasterBrick

stackSelect

Select cell values from a multi-layer Raster* object

strech

Stretch

subs

Substitute values in a Raster* object

subset

Subset layers in a Raster* object

Summary-methods

Summary methods

summary

Summary

symdif

Symetrical difference

terrain

Terrain characteristics

text

Add labels to a map

transpose

Transpose

trim

Trim

union

Union Extent or SpatialPolygons* objects

unique

Unique values

unstack

Unstack

update

Update raster cells of files (on disk)

validCell

Validity of a cell, column or row number

validNames

Create valid names

weighted.mean

Weighted mean of rasters

which.minmax

Where is the min or max value?

which

Which cells are TRUE?

writeFormats

File types for writing

writeRaster

Write raster data to a file

writeValues

Write values to a file

xyFromCell

Coordinates from a row, column or cell number

zApply

z (time) apply

zonal

Zonal statistics

zoom

Zoom in on a map

zvalues

Get or set z-values

Reading, writing, manipulating, analyzing and modeling of spatial data. This package has been superseded by the "terra" package <https://CRAN.R-project.org/package=terra>.

  • Maintainer: Robert J. Hijmans
  • License: GPL (>= 3)
  • Last published: 2024-10-02