Spatial Data Analysis


[Up] [Top]

Documentation for package ‘terra’ version 0.8-6

Help Pages

A B C D E F G H I L M N O P Q R S T U V W X Y Z misc

terra-package The terra package

-- A --

adjacent Adjacent cells
adjacent-method Adjacent cells
aggregate Aggregate raster cells
aggregate-method Aggregate raster cells
align Align a SpatExtent with a SpatRaster
align-method Align a SpatExtent with a SpatRaster
app Apply a function to the cells of a SpatRaster
app-method Apply a function to the cells of a SpatRaster
area Area and perimeter
area-method Area and perimeter
Arith-method Arithmetic, logical and general mathematical methods
Arith-methods Arithmetic, logical and general mathematical methods
as.array Coercion to other object types
as.array-method Coercion to other object types
as.character-method Create a text representation of (the skeleton of) an object
as.contour Contour plot
as.contour-method Contour plot
as.data.frame Get the attributes of a SpatVector
as.data.frame-method Get the attributes of a SpatVector
as.data.frame-method Coercion to other object types
as.factor Factors
as.factor-method Factors
as.lines Coercion to other object types
as.lines-method Coercion to other object types
as.list Get the attributes of a SpatVector
as.list-method Get the attributes of a SpatVector
as.logical-method Arithmetic, logical and general mathematical methods
as.matrix Coercion to other object types
as.matrix-method Coercion to other object types
as.points Coercion to other object types
as.points-method Coercion to other object types
as.polygons Coercion to other object types
as.polygons-method Coercion to other object types
as.vector Coercion to other object types
as.vector-method Coercion to other object types
atan2 Two argument arc-tangent
atan2-method Two argument arc-tangent

-- B --

bbox-method Create, get or set a SpatExtent
boundaries Detect boundaries (edges)
boundaries-method Detect boundaries (edges)
buffer Create a buffer around vector objects or raster patches
buffer-method Create a buffer around vector objects or raster patches

-- C --

c Combine SpatRasters
c-method Combine SpatRasters
cellFromRowCol Coordinates from a row, column or cell number and vice versa
cellFromRowCol-method Coordinates from a row, column or cell number and vice versa
cellFromRowColCombine Coordinates from a row, column or cell number and vice versa
cellFromRowColCombine-method Coordinates from a row, column or cell number and vice versa
cellFromXY Coordinates from a row, column or cell number and vice versa
cellFromXY-method Coordinates from a row, column or cell number and vice versa
cells Get cell numbers
cells-method Get cell numbers
clamp Clamp values
clamp-method Clamp values
classify Classify (or reclassify) cell values
classify-method Classify (or reclassify) cell values
click Query by clicking on a map
click-method Query by clicking on a map
colFromCell Coordinates from a row, column or cell number and vice versa
colFromCell-method Coordinates from a row, column or cell number and vice versa
colFromX Coordinates from a row, column or cell number and vice versa
colFromX-method Coordinates from a row, column or cell number and vice versa
Compare-method Arithmetic, logical and general mathematical methods
Compare-methods Arithmetic, logical and general mathematical methods
compareGeom Compare geometries of SpatRaster objects
compareGeom-method Compare geometries of SpatRaster objects
contour Contour plot
contour-method Contour plot
cover Cover (replace) 'NA' values with values of another raster
cover-method Cover (replace) 'NA' values with values of another raster
crop Cut out a geographic subset
crop-method Cut out a geographic subset
crs Get or set a coordinate reference system
crs-method Get or set a coordinate reference system
crs<- Get or set a coordinate reference system
crs<--method Get or set a coordinate reference system

-- D --

density Density plot
density-method Density plot
depth depth of SpatRaster layers
depth-method depth of SpatRaster layers
depth<- depth of SpatRaster layers
depth<--method depth of SpatRaster layers
describe describe
describe_sds Create a SpatDataSet
diff diff
diff-method diff
dim Dimensions of a SpatRaster or SpatVector
dim-method Dimensions of a SpatRaster or SpatVector
dim<--method Dimensions of a SpatRaster or SpatVector
disaggregate Disaggregate raster cells
disaggregate-method Disaggregate raster cells
distance Geographic distance
distance-method Geographic distance
draw Draw a polygon, line, extent, or points
draw-method Draw a polygon, line, extent, or points

-- E --

expand Expand
expand-method Expand
ext Create, get or set a SpatExtent
ext-method Create, get or set a SpatExtent
ext<- Create, get or set a SpatExtent
ext<--method Create, get or set a SpatExtent
extend Expand
extend-method Expand
extract Extract values from a SpatRaster
extract-method Extract values from a SpatRaster

-- F --

fill Remove holes from polygons
fill-method Remove holes from polygons
flip Flip a raster
flip-method Flip a raster
focal Focal values
focal-method Focal values
focalMat Focal weights matrix
freq Frequency table
freq-method Frequency table

-- G --

gdal_version describe
geom Get the geometry (coordinates) of a SpatVector
geom-method Get the geometry (coordinates) of a SpatVector
geomtype Geometry type of a SpatVector
geomtype-method Geometry type of a SpatVector
global global statistics
global-method global statistics

-- H --

hasValues Data sources of a SpatRaster
hasValues-method Data sources of a SpatRaster
head Show the head or tail of a Spat* object
head-method Show the head or tail of a Spat* object
hist Histogram
hist-method Histogram

-- I --

ifel ifelse for SpatRaster objects
ifel-method ifelse for SpatRaster objects
image SpatRaster image method
image-method SpatRaster image method
init Initialize a SpatRaster with values
init-method Initialize a SpatRaster with values
interpolate Interpolate
interpolate-method Interpolate
is.factor Factors
is.factor-method Factors
is.finite-method Arithmetic, logical and general mathematical methods
is.infinite-method Arithmetic, logical and general mathematical methods
is.lines Geometry type of a SpatVector
is.lines-method Geometry type of a SpatVector
is.na-method Arithmetic, logical and general mathematical methods
is.nan-method Arithmetic, logical and general mathematical methods
is.points Geometry type of a SpatVector
is.points-method Geometry type of a SpatVector
is.polygons Geometry type of a SpatVector
is.polygons-method Geometry type of a SpatVector
isFALSE-method Arithmetic, logical and general mathematical methods
isLonLat Check for longitude/latitude crs
isLonLat-method Check for longitude/latitude crs
isTRUE-method Arithmetic, logical and general mathematical methods

-- L --

lapp Apply a function to layers of a SpatRaster, or to sub-datasets of a SpatDataSet
lapp-method Apply a function to layers of a SpatRaster, or to sub-datasets of a SpatDataSet
length Dimensions of a SpatRaster or SpatVector
length-method Dimensions of a SpatRaster or SpatVector
levels Factors
levels-method Factors
levels<- Factors
levels<--method Factors
lines-method Plot a SpatVector
Logic-method Arithmetic, logical and general mathematical methods
Logic-methods Arithmetic, logical and general mathematical methods

-- M --

mask Mask values in a SpatRaster
mask-method Mask values in a SpatRaster
Math-method Arithmetic, logical and general mathematical methods
Math-methods Arithmetic, logical and general mathematical methods
Math2-method Arithmetic, logical and general mathematical methods
Math2-methods Arithmetic, logical and general mathematical methods
max-method Local statistics
mean-method Local statistics
median-method Local statistics
merge Merge SpatRaster or SpatExtent objects, or a SpatVector with a data.frame
merge-method Merge SpatRaster or SpatExtent objects, or a SpatVector with a data.frame
min-method Local statistics
minmax Get or compute the minimum and maximum cell values
minmax-method Get or compute the minimum and maximum cell values
modal modal value
modal-method modal value

-- N --

names Names of Spat objects
names-method Names of Spat objects
names<- Names of Spat objects
names<--method Names of Spat objects
ncell Dimensions of a SpatRaster or SpatVector
ncell-method Dimensions of a SpatRaster or SpatVector
ncol Dimensions of a SpatRaster or SpatVector
ncol-method Dimensions of a SpatRaster or SpatVector
ncol<- Dimensions of a SpatRaster or SpatVector
ncol<--method Dimensions of a SpatRaster or SpatVector
nlyr Dimensions of a SpatRaster or SpatVector
nlyr-method Dimensions of a SpatRaster or SpatVector
nlyr<- Dimensions of a SpatRaster or SpatVector
nlyr<--method Dimensions of a SpatRaster or SpatVector
nrow Dimensions of a SpatRaster or SpatVector
nrow-method Dimensions of a SpatRaster or SpatVector
nrow<- Dimensions of a SpatRaster or SpatVector
nrow<--method Dimensions of a SpatRaster or SpatVector
nsrc Dimensions of a SpatRaster or SpatVector
nsrc-method Dimensions of a SpatRaster or SpatVector

-- O --

origin Origin
origin-method Origin

-- P --

pack pack a Spat* object
pack-method pack a Spat* object
PackedSpatRaster-class SpatRaster class
PackedSpatVector-class Class "SpatVector"
pairs Pairs plot (matrix of scatterplots)
pairs-method Pairs plot (matrix of scatterplots)
perimeter Area and perimeter
perimeter-method Area and perimeter
persp Perspective plot
persp-method Perspective plot
plot Plot a SpatRaster
plot-method Plot a SpatRaster
plot-method Plot a SpatVector
plot-method Scatterplot of two SpatRaster layers
plotRGB Red-Green-Blue plot of a multi-layered SpatRaster
plotRGB-method Red-Green-Blue plot of a multi-layered SpatRaster
points-method Plot a SpatVector
predict Spatial model predictions
predict-method Spatial model predictions
project Change the coordinate reference system
project-method Change the coordinate reference system

-- Q --

quantile SpatRaster local quantiles
quantile-method SpatRaster local quantiles

-- R --

range-method Local statistics
rapp Apply a function to a range of the layers of a SpatRaster
rapp-method Apply a function to a range of the layers of a SpatRaster
rast Create a SpatRaster
rast-method Create a SpatRaster
rasterize Rasterize vector data
rasterize-method Rasterize vector data
RasterSource SpatRaster class
RasterSource-class SpatRaster class
rats Factors
rats-method Factors
Rcpp_RasterSource-class SpatRaster class
Rcpp_SpatCategories-class SpatRaster class
Rcpp_SpatExtent-class Class "SpatExtent"
Rcpp_SpatRaster-class SpatRaster class
Rcpp_SpatVector-class Class "SpatVector"
readStart Read from, or write to, file
readStart-method Read from, or write to, file
readStop Read from, or write to, file
readStop-method Read from, or write to, file
readValues Read from, or write to, file
readValues-method Read from, or write to, file
rectify rectify a SpatRaster
rectify-method rectify a SpatRaster
rep Combine
rep-method Combine
res Dimensions of a SpatRaster or SpatVector
res-method Dimensions of a SpatRaster or SpatVector
res<- Dimensions of a SpatRaster or SpatVector
res<--method Dimensions of a SpatRaster or SpatVector
resample Transfer values of a SpatRaster to another one with a different geometry
resample-method Transfer values of a SpatRaster to another one with a different geometry
rotate Rotate a SpatRaster along longitude
rotate-method Rotate a SpatRaster along longitude
rowColFromCell Coordinates from a row, column or cell number and vice versa
rowColFromCell-method Coordinates from a row, column or cell number and vice versa
rowFromCell Coordinates from a row, column or cell number and vice versa
rowFromCell-method Coordinates from a row, column or cell number and vice versa
rowFromY Coordinates from a row, column or cell number and vice versa
rowFromY-method Coordinates from a row, column or cell number and vice versa

-- S --

sds Create a SpatDataSet
sds-method Create a SpatDataSet
select Geometric subsetting
select-method Geometric subsetting
selectRange Select the values of a range of layers, as specified by cell values in another SpatRaster
selectRange-method Select the values of a range of layers, as specified by cell values in another SpatRaster
setMinMax Get or compute the minimum and maximum cell values
setMinMax-method Get or compute the minimum and maximum cell values
setRat Factors
setValues Get or set cell values
setValues-method Get or set cell values
shift Shift
shift-method Shift
show-method Class "SpatExtent"
show-method SpatRaster class
show-method Class "SpatVector"
size Dimensions of a SpatRaster or SpatVector
size-method Dimensions of a SpatRaster or SpatVector
slope Compute slopes
slope-method Compute slopes
sources Data sources of a SpatRaster
sources-method Data sources of a SpatRaster
SpatCategories SpatRaster class
SpatCategories-class SpatRaster class
SpatExtent Class "SpatExtent"
SpatExtent-class Class "SpatExtent"
SpatRaster SpatRaster class
SpatRaster-class SpatRaster class
spatSample Take a regular sample
spatSample-method Take a regular sample
SpatVector Class "SpatVector"
SpatVector-class Class "SpatVector"
stdev Local statistics
stdev-method Local statistics
stretch Stretch
stretch-method Stretch
subset Subset of a SpatRaster
subset-method Subset of a SpatVector
subset-method Subset of a SpatRaster
Summary-method Local statistics
summary-method Summary
Summary-methods Local statistics

-- T --

t Transpose
t-method Transpose
tail Show the head or tail of a Spat* object
tail-method Show the head or tail of a Spat* object
tapp Apply a function to subsets of layers of a SpatRaster
tapp-method Apply a function to subsets of layers of a SpatRaster
terra The terra package
terraOptions Options
text Add labels to a map
text-method Add labels to a map
time time of SpatRaster layers
time-method time of SpatRaster layers
time<- time of SpatRaster layers
time<--method time of SpatRaster layers
tmpFiles Temporary files
transpose Transpose
transpose-method Transpose
trim Trim a SpatRaster
trim-method Trim a SpatRaster

-- U --

unique Unique values
unique-method Unique values

-- V --

values Get or set cell values
values-method Get or set cell values
values<- Get or set cell values
values<--method Get or set cell values
vect Create SpatVector objects
vect-method Create SpatVector objects

-- W --

which.max-method Local statistics
which.min-method Local statistics
writeRaster Write raster data to a file
writeRaster-method Write raster data to a file
writeStart Read from, or write to, file
writeStart-method Read from, or write to, file
writeStop Read from, or write to, file
writeStop-method Read from, or write to, file
writeValues Read from, or write to, file
writeValues-method Read from, or write to, file
writeVector Write vector data to a file
writeVector-method Write vector data to a file

-- X --

xFromCell Coordinates from a row, column or cell number and vice versa
xFromCell-method Coordinates from a row, column or cell number and vice versa
xFromCol Coordinates from a row, column or cell number and vice versa
xFromCol-method Coordinates from a row, column or cell number and vice versa
xmax Get or set single values of an extent
xmax-method Get or set single values of an extent
xmax<- Get or set single values of an extent
xmax<--method Get or set single values of an extent
xmin Get or set single values of an extent
xmin-method Get or set single values of an extent
xmin<- Get or set single values of an extent
xmin<--method Get or set single values of an extent
xres Dimensions of a SpatRaster or SpatVector
xres-method Dimensions of a SpatRaster or SpatVector
xyFromCell Coordinates from a row, column or cell number and vice versa
xyFromCell-method Coordinates from a row, column or cell number and vice versa

-- Y --

yFromCell Coordinates from a row, column or cell number and vice versa
yFromCell-method Coordinates from a row, column or cell number and vice versa
yFromRow Coordinates from a row, column or cell number and vice versa
yFromRow-method Coordinates from a row, column or cell number and vice versa
ymax Get or set single values of an extent
ymax-method Get or set single values of an extent
ymax<- Get or set single values of an extent
ymax<--method Get or set single values of an extent
ymin Get or set single values of an extent
ymin-method Get or set single values of an extent
ymin<- Get or set single values of an extent
ymin<--method Get or set single values of an extent
yres Dimensions of a SpatRaster or SpatVector
yres-method Dimensions of a SpatRaster or SpatVector

-- Z --

zonal Zonal statistics
zonal-method Zonal statistics
zoom Zoom in on a map
zoom-method Zoom in on a map

-- misc --

!-method Arithmetic, logical and general mathematical methods
$ Get or replace attribute values of a SpatVector
$-method Get or replace attribute values of a SpatVector
$-method Subset of a SpatRaster
$<- Get or replace attribute values of a SpatVector
$<--method Get or replace attribute values of a SpatVector
$<--method Replace values of a SpatRaster
[-method Extract values from a SpatRaster
[-method Replace values of a SpatRaster
[-method Subset of a SpatVector
[-method Subset of a SpatRaster
[<--method Replace values of a SpatRaster
[<--method Create a SpatDataSet
[[-method Subset of a SpatVector
[[-method Subset of a SpatRaster
[[<--method Replace values of a SpatRaster