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