raster v3.0-12

0

Monthly downloads

0th

Percentile

Geographic Data Analysis and Modeling

Reading, writing, manipulating, analyzing and modeling of gridded spatial data. The package implements basic and high-level functions. Processing of very large files is supported. There is a also support for vector data operations such as intersections. See the manual and tutorials on <https://rspatial.org/> to get started.

Functions in raster

Name Description
RGB Create a Red-Green-Blue Raster object
NAvalue Set the NA value of a RasterLayer
Raster-class Raster* classes
Logic-methods Logical operators and functions
Math-methods Mathematical functions
approxNA Estimate values for cell values that are NA by interpolating between layers
KML Write a KML or KMZ file
as.matrix Get a vector, matrix, or array with raster cell values
Rcpp-class Rcpp classes
aggregate Aggregate raster cells or SpatialPolygons/Lines
as.character Character representation of a Raster or Extent object
calc Calculate
Extent-class Class "Extent"
area Size of cells
bands Number of bands
barplot Bar plot of a RasterLayer
as.data.frame Get a data.frame with raster cell values, or coerce SpatialPolygons, Lines, or Points to a data.frame
Arith-methods Arithmetic with Raster* objects
autocorrelation Spatial autocorrelation
adjacent Adjacent cells
as.raster Coerce to a 'raster' object
atan2 Two argument arc-tangent
as.list Create a list of RasterLayer objects
buffer buffer
Summary-methods Summary methods
brick Create a RasterBrick object
addLayer Add or drop a layer
as.logical Change cell values to logical or integer values
Compare-methods Compare Raster* objects
boundaries boundaries (edges) detection
animate Animate layers of a Raster* object
cellStats Statistics across cells
alignExtent Align an extent (object of class Extent)
cellFrom Get cell, row, or column number
click Query by clicking on a map
blockSize Block size for writing files
clump Detect clumps
direction Direction
boxplot Box plot of Raster objects
compareRaster Compare Raster objects
cover Replace NA values with values of other layers
compareCRS Partially compare two CRS objects
cellsFromExtent Cells from extent, and vice versa
bind Bind Spatial* objects
corLocal Local correlation coefficient
disaggregate Disaggregate
clearValues Clear values
clamp Clamp values
crop Crop
dataType Data type
cluster Use a multi-core cluster
Extreme coordinates Coordinates of the Extent of a Raster object
density Density plot
contour Contour plot
colortable colortable
distanceFromPoints Distance from points
cut Convert values to classes
distance Distance
flip Flip
dim Dimensions of a Raster* object
datasource Are values in memory and/or on disk?
crosstab Cross-tabulate
draw Draw a line or polygon
cv Coefficient of variation
erase Erase parts of a SpatialPolygons* or SpatialLines* object. The inverse of this can be done with intersect
flowPath Flow path
extension Filename extensions
drawExtent Create an Extent object by drawing on a map
Gain and offset Gain and offset of values on file
extract Extract values from Raster objects
freq Frequency table
extent Extent
filename Filename
geom Get the coordinates of a vector type Spatial* object
getValuesBlock Get a block of raster cell values
factors Factors
getData Get geographic data
Extract by index Indexing to extract values of a Raster* object
extend Extend
interpolate Interpolate
extremeValues Minimum and maximum values
initialize Initialize a Raster object with values
hist Histogram
getValues Get raster cell values
layerStats Correlation and (weighted) covariance
localFun Local functions
hillShade Hill shading
focal Focal values
layerize Layerize
metadata Metadata
overlay Overlay Raster objects
mask Mask values in a Raster object
pairs Pairs plot (matrix of scatterplots)
raster-package Overview of the functions in the raster package
modal modal value
match Value matching for Raster* objects
hdr Header files
focalWeight Focal weights matrix
resample Resample a Raster object
filledContour Filled contour plot
gridDistance Distance on a grid
raster Create a RasterLayer object
head Show the head or tail of a Raster* object
getValuesFocal Get focal raster cell values
intersect Intersect
merge Merge Raster* objects
names Names of raster layers
projectRaster Project a Raster object
image Image
rasterFromCells Subset a raster by cell numbers
nlayers Number of layers
inifile Read a .ini file
origin Origin
plotRGB Red-Green-Blue plot of a multi-layered Raster object
rasterFromXYZ Create a Raster* object from x, y, z values
resolution Resolution
movingFun Moving functions
sampleRegular Regular sample
pointDistance Distance between points
projection Get or set a coordinate reference system (projection)
mosaic Merge Raster* objects using a function for overlapping areas
shift Shift
properties Raster file properties
quantile Raster quantiles
isLonLat Is this longitude/latitude data?
rectify rectify a Raster object
replacement Replace cell values or layers of a Raster* object
Slope and aspect Slope and aspect
Extent math round Extent coordinates
round Integer values
predict Spatial model predictions
setExtent Set the extent of a RasterLayer
Programming Helper functions for programming
ncell Number or rows, columns, and cells of a Raster* object
plot Plot a Raster* object
subset Subset layers in a Raster* object
rotated Do the raster cells have a rotation?
sampleStratified Stratified random sample
trim Trim
rotate Rotate
rasterTmpFile Temporary files
rasterToContour Raster to contour lines conversion
transpose Transpose
Options Global options for the raster package
substitute Substitute values in a Raster* object
setMinMax Compute min and max values
persp Perspective plot
xyFromCell Coordinates from a row, column or cell number
zApply z (time) apply
readAll Read values from disk
reclassify Reclassify
sp Create SpatialLines* or SpatialPolygons*
stackSave Save or open a RasterStack file
rasterToPolygons Raster to polygons conversion
terrain Terrain characteristics
sampleRandom Random sample
rasterToPoints Raster to points conversion
SampleInt Sample integer values
spplot Use spplot to plot a Raster* or other object
setValues Set values of a Raster object
scale Scale values
Summary Summary
shapefile Read or write a shapefile
unstack Unstack
union Union Extent or SpatialPolygons* objects
stackSelect Select cell values from a multi-layer Raster* object
symdif Symetrical difference
text Add labels to a map
zonal Zonal statistics
rowSums rowSums and colSums for Raster objects
rowFromCell Row or column number from a cell number
scalebar scalebar
select Geometric subsetting
z-values Get or set z-values
unique Unique values
update Update raster cells of files (on disk)
rasterize Rasterize points, lines, or polygons
weighted.mean Weighted mean of rasters
zoom Zoom in on a map
writeRaster Write raster data to a file
which Which cells are TRUE?
stack Create a RasterStack object
validCell Validity of a cell, column or row number
stretch Stretch
stackApply Apply a function on subsets of a RasterStack or RasterBrick
writeValues Write values to a file
validNames Create valid names
which.min Where is the min or max value?
writeFormats File types for writing
No Results!

Vignettes of raster

Name
Raster.Rnw
No Results!

Last month downloads

Details

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/raster)](http://www.rdocumentation.org/packages/raster)