Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (3.6-32) of this package.
Take me there.
raster (version 1.1.7)
Geographic analysis and modeling with raster data
Description
Package for reading, writing, and manipulating raster (grid) type geographic (spatial) data
Copy Link
Link to current version
Version
Version
3.6-32
3.6-31
3.6-30
3.6-26
3.6-23
3.6-20
3.6-14
3.6-13
3.6-11
3.6-3
3.5-29
3.5-21
3.5-15
3.5-11
3.5-9
3.5-2
3.4-13
3.4-10
3.4-5
3.3-13
3.3-7
3.3-6
3.1-5
3.0-12
3.0-7
3.0-2
2.9-23
2.9-22
2.9-5
2.8-19
2.8-4
2.7-15
2.6-7
2.5-8
2.5-2
2.4-30
2.4-20
2.4-18
2.4-15
2.3-40
2.3-33
2.3-24
2.3-12
2.3-10
2.3-0
2.2-31
2.2-12
2.2-5
2.1-66
2.1-49
2.1-48
2.1-41
2.1-37
2.1-25
2.1-16
2.1-12
2.0-41
2.0-31
2.0-29
2.0-12
2.0-08
2.0-05
2.0-04
1.9-92
1.9-82
1.9-70
1.9-67
1.9-64
1.9-63
1.9-58
1.9-55
1.9-54
1.9-52
1.9-46
1.9-44
1.9-41
1.9-33
1.9-32
1.9-29
1.9-27
1.9-19
1.9-13
1.9-12
1.9-11
1.9-5
1.9-1
1.8-39
1.8-38
1.8-35
1.8-31
1.8-27
1.8-25
1.8-22
1.8-20
1.8-12
1.8-9
1.8-3
1.7-46
1.7-29
1.7-23
1.7-18
1.7-8
1.7-6
1.6-22
1.6-19
1.6-16
1.6-15
1.6-10
1.5-16
1.5-8
1.4-10
1.3-11
1.3-4
1.3-1
1.2-6
1.1.7
1.0.4
1.0.0-1
Install
install.packages('raster')
Monthly Downloads
164,948
Version
1.1.7
License
GPL (>= 3)
Maintainer
Robert Hijmans
Last Published
June 4th, 2010
Functions in raster (1.1.7)
Search all functions
polygonFromExtent
Polygon from Extent
calc
Calculate
projectRaster
project a RasterLayer
Sample
Random or regular sample
dataType
Data type
predict
Spatial model predictions
cellStats
Cell statistics
initialize
Intitialize
round
Integer values
gridDistance
Grid distance
Options
Global options for the raster package
brick
Create a RasterBrick object
mosaic
mosaic RasterLayers
pointDistance
Distance between points
as.logical
as.logical
bands
Bands
inifile
Read a .ini file
focalFilter
Focal filter
aggregate
Aggregate
Compare-methods
Compare Raster* objects
plotRGB
Red-Green-Blue plot of RasterLayers
factors
Factors
Function writing
Helper functions to use in new functions you develop
Raster-class
Raster* classes
alignExtent
Align an extent (object of class Extent)
clump
Detect clumps
cover
Cover
edge
Edge detection
distance
Distance
pointsToRaster
Point to raster conversion
getValues
Get raster cell values
isLonLat
Is this longitude/latitude data?
disaggregate
Disaggregate
overlay
Overlay
freq
Frequency table
setExtent
Set the extent of a RasteLayer
KML
KML
getValuesBlock
Get raster cell values
indexing
Values from index and replacement
persp
Perspective plot
contour
Contour plot
click
Click
dimensions
Dimensions of a Raster* object
polygonValues
Extract values from a RasterLayer by polygons
rasterToPoints
Raster to points conversion
SampleInt
Sample integer values
shift
Shift
extent
Extent
focal
Focal
Arith-methods
Arithmic with rasters
filename
Filename
image
Image
extremeValues
Minimum and maximum values
raster-package
Management, analysis and modeling of raster-type geographic data
nlayers
Layers
unstack
Unstack
resolution
Resolution
setValues
Set values
cellsFromExtent
Cells from Extent
count
Count
linesToRaster
Lines to raster
pairs
Pair plots
unionExtent
Extent union
flip
Flip
focalValues
Extract focal values
mask
mask
distanceFromPoints
Distance from points
origin
Origin
density
Density plot
rotate
Rotate
Summary-methods
Summary methods
merge
Merge RasterLayers
interpolate
Interpolate
polygonsToRaster
Polygons to raster conversion
filledContour
Filled contour plot
quantile
RasterLayer quantiles
extension
Filename extensions
nudgeExtent
Round extent coordinates
resample
Resample
reclass
Reclassify
writeRaster
Write raster data to a file
crop
Crop
substitute
Substitute values in a RasterLayer
NAvalue
Set the NA value of a RasterLayer
rowFromCell
Row or column number from a cell number
rasterToContour
Raster to contour lines conversion
writeFormats
File types for writing
trim
Trim
zonal
Zonal statistics
unique
Unique values
zoom
Zoom in on a plot
rasterFromCells
Subset a raster by cell numbers
xyValues
Extract values at xy coordinates
stats
Miscellaneous statistical functions
saverasterstack
Save or open a RasterStack file
copyRasterFile
Copy or move a raster file
intersectExtent
Extent intersection
plot3D
Interactive 3D plot of a RasterLayer
properties
Raster file properties
worldFile
Header files
read
Read values from disk
coordinates
Coordinates
area
Size of cells
changeStack
Add or drop a layer
crosstab
Cross-tabulate
values
Get raster values
validCell
Validity of a cell, column or row number
hist
Histogram
adjacency
Adjacency
which
Which cells are TRUE?
writeRasterHdr
Header files
drawExtent
Draw extet
stack
Create a RasterStack object
cellValues
Extract values for one or more cells
cellFrom
Get cell, row, or column number
xyFromCell
Coordinates from a row, column or cell number
getData
Get geographic data
expand
Expand
setMinMax
Compute min and max values
setProjection
projection
rasterTmpFile
Temporary files
Summary
Summary
Math-methods
Mathematical functions
compare
Compare
draw
Draw a line or polygon
rasterToPolygons
Raster to polygons conversion
raster
Create a RasterLayer object
dataProperties
Data properties
Logic-methods
Logical operators and functions
Extent-class
Class "Extent"
direction
Direction
plot
Plot a Raster* object
writeValues
Write values to a file