terra v1.0-10
0
Monthly downloads
Spatial Data Analysis
Methods for spatial data analysis, especially raster data. Methods allow for low-level data manipulation as well as high-level global, local, zonal, and focal computation. The predict and interpolate methods facilitate the use of regression type (interpolation, machine learning) models for spatial prediction. Processing of very large files is supported. See the manual and tutorials on <https://rspatial.org/terra/> to get started. 'terra' is very similar to the 'raster' package; but 'terra' is simpler, better, and faster.
Functions in terra
Name | Description | |
SpatVector-class | Class "SpatVector" | |
adjacent | Adjacent cells | |
app | Apply a function to the cells of a SpatRaster | |
SpatRaster-class | SpatRaster class | |
aggregate | Aggregate raster or vector data | |
SpatExtent-class | Class "SpatExtent" | |
align | Align a SpatExtent | |
add | Add (in place) a SpatRaster to another SpatRaster object | |
NAflag | Set a value to NA | |
boundaries | Detect boundaries (edges) | |
animate | Animate a SpatRaster | |
as.spatvector | Coercion to a SpatVector, or to another SpatVector type | |
autocorrelation | Spatial autocorrelation | |
convexhull | Convex hull | |
barplot | Bar plot of a SpatRaster | |
atan2 | Two argument arc-tangent | |
boxplot | Box plot of SpatRaster data | |
as.character | Create a text representation of (the skeleton of) an object | |
as.data.frame | SpatRaster or SpatVector to data.frame | |
cells | Get cell numbers | |
classify | Classify (or reclassify) cell values | |
centroids | Get centroids | |
clamp | Clamp values | |
area | Area and perimeter | |
cover | Replace values with values from another object | |
arith | apply a local function | |
c | Combine SpatRaster or SpatVector objects | |
click | Query by clicking on a map | |
buffer | Create a buffer around vector objects or raster patches | |
crosstab | Cross-tabulate | |
crs | Get or set a coordinate reference system | |
compareGeom | Compare geometries of SpatRasters | |
density | Density plot | |
global | global statistics | |
colors | Color table | |
geomtype | Geometry type of a SpatVector | |
focalMat | Focal weights matrix | |
dimensions | Dimensions of a SpatRaster or SpatVector and related objects | |
coerce | Coercion of a SpatRaster to other object types | |
disaggregate | Disaggregate raster cells | |
math | Arithmetic, logical and general mathematical methods | |
crop | Cut out a geographic subset | |
erase | Erase parts of a SpatVector object. The inverse of this can be done with intersect and crop | |
match | Value matching for SpatRasters | |
distance | Geographic distance | |
is.lonlat | Check for longitude/latitude crs | |
predict | Spatial model predictions | |
expand | Expand | |
is.valid | Check polygon validity | |
plot | Plot a SpatRaster | |
plotVector | Plot a SpatVector | |
describe | describe | |
collapse | Collapse SpatRaster or SpatRasterDataset objects | |
factors | Factors | |
plotRGB | Red-Green-Blue plot of a multi-layered SpatRaster | |
freq | Frequency table | |
rectify | rectify a SpatRaster | |
depth | depth of SpatRaster layers | |
fill | Remove holes from polygons | |
rescale | rescale | |
select | Spatial selection | |
contour | Contour plot | |
relate | relate | |
sds | Create a SpatRasterDataset | |
copy | Deep copy | |
draw | Draw a polygon, line, extent, or points | |
ifel | ifelse for SpatRasters | |
extract | Extract values from a SpatRaster | |
gdal | gdal utilities | |
geom | Get the geometry (coordinates) of a SpatVector | |
rotate | Rotate a SpatRaster along longitude | |
flip | Flip or reverse a raster | |
initialize | Initialize a SpatRaster with values | |
ext | Create, get or set a SpatExtent | |
inset | Make an inset map | |
diff | diff | |
tapp | Apply a function to subsets of layers of a SpatRaster | |
interpolate | Interpolate | |
focal | Focal values | |
range | Get or compute the minimum and maximum cell values | |
pairs | Pairs plot (matrix of scatterplots) | |
merge | Merge SpatRaster or SpatExtent objects, or a SpatVector with a data.frame | |
project | Change the coordinate reference system | |
units | units of SpatRaster or SpatRasterDataSet | |
unique | Unique values | |
xmin | Get or set single values of an extent | |
terra-package | The terra package | |
writeVector | Write vector data to a file | |
image | SpatRaster image method | |
quantile | SpatRaster local quantiles | |
persp | Perspective plot | |
summarize-generics | Summarize | |
modal | modal value | |
origin | Origin | |
subset-vector | Subset of a SpatVector | |
mosaic | mosaic SpatRasters | |
rast | Create a SpatRaster | |
subset | Subset of a SpatRaster | |
head and tail | Show the head or tail of a Spat* object | |
summary | summary | |
rapp | Apply a function to a range of the layers of a SpatRaster | |
pack | pack a Spat* object | |
svc | Create a SpatVectorCollection | |
linearUnits | Linear units of the coordinate reference system | |
lapp | Apply a function to layers of a SpatRaster, or to sub-datasets of a SpatRasterDataset | |
intersect | Intersection | |
hist | Histogram | |
values | Get or set cell values | |
symdif | Symetrical difference | |
vect | Create SpatVector objects | |
xyRowColCell | Coordinates from a row, column or cell number and vice versa | |
resample | Transfer values of a SpatRaster to another one with a different geometry | |
options | Options | |
replace | Replace values of a SpatRaster | |
selectRange | Select the values of a range of layers, as specified by cell values in another SpatRaster | |
zonal | Zonal statistics | |
terrain | terrain characteristic | |
names | Names of Spat* objects | |
rep | Combine | |
lines | Add SpatVector data to a map | |
mask | Mask values in a SpatRaster | |
trim | Trim a SpatRaster | |
rasterize | Rasterize vector data | |
near | nearby geometries | |
vector-attributes | Get or replace attribute values of a SpatVector | |
read and write | Read from, or write to, file | |
zoom | Zoom in on a map | |
separate | separate | |
spatSample | Take a regular sample | |
union | Union SpatVector or SpatExtent objects | |
tmpFiles | Temporary files | |
stretch | Stretch | |
spin | spin a SpatVector | |
sbar | scalebar | |
transpose | Transpose | |
scale | Scale values | |
window | Set a window | |
voronoi | voronoi diagram and delauny triangles | |
scatterplot | Scatterplot of two SpatRaster layers | |
shift | Shift | |
sources | Data sources of a SpatRaster | |
text | Add labels to a map | |
writeRaster | Write raster data to a file | |
time | time of SpatRaster layers | |
writeCDF | Write raster data to a NetCDF file | |
No Results! |
Last month downloads
Details
Type | Package |
Date | 2021-01-11 |
LinkingTo | Rcpp |
SystemRequirements | C++11, GDAL (>= 3.0.4), GEOS (>= 3.8.0), PROJ (>= 6.3.1) |
License | GPL (>= 3) |
URL | https://rspatial.org/terra |
BugReports | https://github.com/rspatial/terra/issues/ |
LazyLoad | yes |
RoxygenNote | 7.1.1 |
NeedsCompilation | yes |
Packaged | 2021-01-11 11:40:00 UTC; rhijm |
Repository | CRAN |
Date/Publication | 2021-01-22 08:10:03 UTC |
imports | methods , raster (>= 3.3-7) , Rcpp |
suggests | ncdf4 , parallel , tinytest |
depends | R (>= 3.5.0) |
Contributors | Jeroen Ooms, Edzer Pebesma, Roger Bivand, Karl Forner |
Include our badge in your README
[](http://www.rdocumentation.org/packages/terra)