Skip to contents
-
NAflag(<SpatRaster>) `NAflag<-`(<SpatRaster>)
- Set the NA flag
-
NIDP(<SpatRaster>)
- Number of immediate adjacent cells flowing into each cell
-
RGB(<SpatRaster>) `RGB<-`(<SpatRaster>) colorize(<SpatRaster>) has.RGB(<SpatRaster>)
- Layers representing colors
-
SpatExtent SpatExtent-class Rcpp_SpatExtent-class show,SpatExtent-method
- Class "SpatExtent"
-
SpatRaster SpatRaster-class Rcpp_SpatRaster-class PackedSpatRaster-class SpatRasterCollection SpatRasterDataset SpatRasterCollection-class SpatRasterDataset-class RasterSource RasterSource-class Rcpp_RasterSource-class SpatCategories SpatCategories-class Rcpp_SpatCategories-class show,SpatRaster-method
- SpatRaster class
-
SpatVector SpatVector-class SpatVectorCollection SpatVectorCollection-class SpatVectorProxy SpatVectorProxy-class Rcpp_SpatVector-class PackedSpatVector-class show,SpatVector-method
- Class "SpatVector"
-
activeCat(<SpatRaster>) `activeCat<-`(<SpatRaster>)
- Active category
-
`add<-`(<SpatRaster>,<SpatRaster>) `add<-`(<SpatRasterDataset>,<SpatRaster>) `add<-`(<SpatRasterCollection>,<SpatRaster>)
- Add (in place) a SpatRaster to another SpatRaster or to a SpatRasterDataset or SpatRasterCollection
-
add_abline()
- add vertical and/or horizontal lines to a map made with terra
-
add_mtext()
- draw a box
-
adjacent(<SpatRaster>) adjacent(<SpatVector>)
- Adjacent cells or polygons
-
aggregate(<SpatRaster>) aggregate(<SpatVector>)
- Aggregate raster or vector data
-
align(<SpatExtent>,<SpatRaster>) align(<SpatExtent>,<numeric>)
- Align a SpatExtent
-
all.equal(<SpatRaster>,<SpatRaster>) all.equal(<SpatVector>,<SpatVector>) all.equal(<SpatExtent>,<SpatExtent>)
- Compare two SpatRaster, SpatVector, or SpatExtent objects for equality
-
animate(<SpatRaster>)
- Animate a SpatRaster
-
app(<SpatRaster>) app(<SpatRasterDataset>)
- Apply a function to the cells of a SpatRaster
-
approximate(<SpatRaster>)
- Estimate values for cell values that are
NA by interpolating between layers
-
ar_info()
- ar_info
-
Arith-methods Arith,SpatExtent,numeric-method Arith,numeric,SpatExtent-method Arith,SpatExtent,SpatExtent-method Arith,SpatRaster,SpatRaster-method Arith,SpatVector,SpatVector-method Arith,SpatRaster,missing-method Arith,numeric,SpatRaster-method Arith,SpatRaster,numeric-method Arith,logical,SpatRaster-method Arith,SpatRaster,logical-method Arith,missing,SpatRaster-method Arith,SpatRaster,matrix-method Arith,matrix,SpatRaster-method
- Arithmetic
-
as.character(<SpatExtent>) as.character(<SpatRaster>)
- Create a text representation of (the skeleton of) an object
-
as.data.frame(<SpatVector>) as.data.frame(<SpatRaster>)
- SpatRaster or SpatVector to data.frame
-
as.lines(<SpatRaster>) as.lines(<SpatVector>) as.lines(<SpatExtent>) as.lines(<matrix>)
- Conversion to a SpatVector of lines
-
as.list(<SpatRaster>) as.list(<SpatRasterCollection>) as.list(<SpatVector>) as.list(<SpatVectorCollection>)
- Coerce a Spat* object to a list
-
as.points(<SpatRaster>) as.points(<SpatVector>) as.points(<SpatExtent>)
- Conversion to a SpatVector of points
-
as.polygons(<SpatRaster>) as.polygons(<SpatVector>) as.polygons(<SpatExtent>)
- Conversion to a SpatVector of polygons
-
as.raster(<SpatRaster>)
- Coerce to a "raster" object
-
atan2(<SpatRaster>,<SpatRaster>) atan_2(<SpatRaster>,<SpatRaster>)
- Two argument arc-tangent
-
autocor(<numeric>) autocor(<SpatRaster>)
- Spatial autocorrelation
-
barplot(<SpatRaster>)
- Bar plot of a SpatRaster
-
bestMatch(<SpatRaster>,<SpatVector>) bestMatch(<SpatRaster>,<data.frame>) bestMatch(<SpatRaster>,<matrix>)
- bestMatch
-
boundaries(<SpatRaster>)
- Detect boundaries (edges)
-
add_box()
- draw a box
-
boxplot(<SpatRaster>)
- Box plot of SpatRaster data
-
buffer(<SpatRaster>) buffer(<SpatVector>)
- Create a buffer around vector geometries or raster patches
-
c(<SpatRaster>) c(<SpatRasterDataset>) c(<SpatRasterCollection>) c(<SpatVector>) c(<SpatVectorCollection>)
- Combine SpatRaster or SpatVector objects
-
cartogram(<SpatVector>)
- Cartogram
-
as.numeric(<SpatRaster>) catalyze(<SpatRaster>)
- Factors to numeric
-
cellSize(<SpatRaster>)
- Area covered by each raster cell
-
cells(<SpatRaster>,<missing>) cells(<SpatRaster>,<numeric>) cells(<SpatRaster>,<SpatVector>) cells(<SpatRaster>,<SpatExtent>)
- Get cell numbers
-
centroids(<SpatVector>)
- Centroids
-
clamp(<SpatRaster>) clamp(<numeric>)
- Clamp values
-
clamp_ts(<SpatRaster>)
- clamp time series data
-
classify(<SpatRaster>)
- Classify (or reclassify) cell values
-
click(<SpatRaster>) click(<SpatVector>) click(<missing>)
- Query by clicking on a map
-
as.vector(<SpatRaster>) as.matrix(<SpatRaster>) as.array(<SpatRaster>) as.array(<SpatRasterDataset>) as.vector(<SpatExtent>) as.matrix(<SpatExtent>)
- Coercion to vector, matrix or array
-
tighten(<SpatRaster>) tighten(<SpatRasterDataset>)
- tighten SpatRaster or SpatRasterDataset objects
-
coltab(<SpatRaster>) `coltab<-`(<SpatRaster>) has.colors(<SpatRaster>)
- Color table
-
combineGeoms(<SpatVector>,<SpatVector>)
- Combine geometries
-
compare(<SpatRaster>) logic(<SpatRaster>)
- Compare and logical methods
-
compareGeom(<SpatRaster>,<SpatRaster>) compareGeom(<SpatVector>,<SpatVector>) compareGeom(<SpatVector>,<missing>)
- Compare geometries
-
concats(<SpatRaster>)
- Concatenate categorical rasters
-
contour(<SpatRaster>) as.contour(<SpatRaster>)
- Contour plot
-
hull(<SpatVector>)
- Convex, concave, rectangular and circular hulls
-
costDist(<SpatRaster>)
- Cost-distance
-
cover(<SpatRaster>,<SpatRaster>) cover(<SpatRaster>,<missing>) cover(<SpatVector>,<SpatVector>)
- Replace values with values from another object
-
crds(<SpatVector>) crds(<SpatRaster>)
- Get the coordinates of SpatVector geometries or SpatRaster cells
-
crop(<SpatRaster>) crop(<SpatRasterDataset>) crop(<SpatRasterCollection>) crop(<SpatVector>) crop(<SpatGraticule>)
- Cut out a geographic subset
-
crosstab(<SpatRaster>,<missing>)
- Cross-tabulate
-
crs(<SpatRaster>) crs(<SpatVector>) crs(<character>) `crs<-`(<SpatRaster>) `crs<-`(<SpatVector>)
- Get or set a coordinate reference system
-
datatype(<SpatRaster>) datatype(<SpatVector>)
- Data type of a SpatRaster or SpatVector
-
deepcopy(<SpatRaster>) deepcopy(<SpatVector>)
- Deep copy
-
densify(<SpatVector>)
- Add additional nodes to lines or polygons
-
density(<SpatRaster>)
- Density plot
-
gridDistance(<SpatRaster>)
- deprecated methods
-
depth(<SpatRaster>) `depth<-`(<SpatRaster>) depthName(<SpatRaster>) `depthName<-`(<SpatRaster>) depthUnit(<SpatRaster>) `depthUnit<-`(<SpatRaster>)
- depth of SpatRaster layers
-
describe(<character>) describe(<SpatRaster>)
- describe
-
diff(<SpatRaster>)
- Lagged differences
-
ncol(<SpatRaster>) nrow(<SpatRaster>) nlyr(<SpatRaster>) ncell(<SpatRaster>) nsrc(<SpatRaster>) `ncol<-`(<SpatRaster>,<numeric>) `nrow<-`(<SpatRaster>,<numeric>) `nlyr<-`(<SpatRaster>,<numeric>) res(<SpatRaster>) `res<-`(<SpatRaster>,<numeric>) xres(<SpatRaster>) yres(<SpatRaster>) ncol(<SpatVector>) nrow(<SpatVector>) length(<SpatVector>)
- Dimensions of a SpatRaster or SpatVector and related objects
-
direction(<SpatRaster>)
- Direction
-
disagg(<SpatRaster>) disagg(<SpatVector>)
- Disaggregate raster cells or vector geometries
-
distance(<SpatRaster>,<missing>) distance(<SpatRaster>,<SpatVector>) distance(<SpatVector>,<SpatVector>) distance(<SpatVector>,<ANY>) distance(<matrix>,<matrix>) distance(<matrix>,<missing>)
- Geographic distance
-
divide(<SpatRaster>) divide(<SpatVector>)
- Subdivide a raster or polygons
-
dots(<SpatVector>)
- Make a dot-density map
-
draw(<character>)
- Draw a polygon, line, extent, or points
-
elongate(<SpatVector>)
- elongate lines
-
erase(<SpatVector>,<SpatVector>) erase(<SpatVector>,<missing>) erase(<SpatVector>,<SpatExtent>)
- Erase parts of a SpatVector object
-
expanse(<SpatRaster>) expanse(<SpatVector>)
- Get the expanse (area) of individual polygons or for all (summed) raster cells
-
ext(<SpatRaster>) ext(<SpatVector>) ext(<numeric>) `ext<-`(<SpatRaster>,<SpatExtent>) `ext<-`(<SpatRaster>,<numeric>)
- Create, get or set a SpatExtent
-
extend(<SpatRaster>) extend(<SpatExtent>)
- Extend
-
extract(<SpatRaster>,<SpatVector>) extract(<SpatRaster>,<SpatExtent>) extract(<SpatRaster>,<matrix>) extract(<SpatRaster>,<numeric>) extract(<SpatVector>,<SpatVector>)
- Extract values from a SpatRaster
-
extractAlong()
- extract values along lines
-
extractRange(<SpatRaster>)
- Extract values for a range of layers from a SpatRaster
-
levels(<SpatRaster>) `levels<-`(<SpatRaster>) cats(<SpatRaster>) categories(<SpatRaster>) droplevels(<SpatRaster>) simplifyLevels(<SpatRaster>) addCats(<SpatRaster>) combineLevels()
- Categorical rasters
-
fillHoles(<SpatVector>)
- Remove holes from polygons
-
fillTime(<SpatRaster>)
- Fill time gaps in a SpatRaster
-
flip(<SpatRaster>) flip(<SpatVector>) rev(<SpatRaster>)
- Flip or reverse a raster
-
flowAccumulation(<SpatRaster>)
- Flow accumulation
-
focal(<SpatRaster>)
- Focal values
-
focal3D(<SpatRaster>)
- Three-dimensional focal values
-
focalCpp(<SpatRaster>)
- Compute focal values with an iterating C++ function
-
focalMat()
- Focal weights matrix
-
focalPairs(<SpatRaster>)
- Focal function across two layers
-
focalReg(<SpatRaster>)
- Focal regression
-
focalValues(<SpatRaster>)
- Get focal values
-
forceCCW(<SpatVector>)
- force counter-clockwise polygons
-
freq(<SpatRaster>)
- Frequency table
-
gaps(<SpatVector>)
- Find gaps between polygons
-
gdal() gdalCache() setGDALconfig() getGDALconfig() clearVSIcache() libVersion() unloadGDALdrivers()
- GDAL version, supported file formats, and cache size
-
geom(<SpatVector>)
- Get the geometry (coordinates) of a SpatVector
-
geomtype(<SpatVector>) is.points(<SpatVector>) is.lines(<SpatVector>) is.polygons(<SpatVector>)
- Geometry type of a SpatVector
-
global(<SpatRaster>)
- global statistics
-
graticule()
- Create a graticule
-
add_grid()
- add a grid to a map made with terra
-
gridDist(<SpatRaster>)
- Distance on a grid
-
halo()
- Add halo-ed text to a plot
-
head() tail()
- head and tail of a SpatRaster or SpatVector
-
hist(<SpatRaster>)
- Histogram
-
identical(<SpatRaster>,<SpatRaster>) identical(<SpatVector>,<SpatVector>) identical(<SpatExtent>,<SpatExtent>)
- Compare two SpatRaster, SpatVector or SpatExtent objects for equality
-
ifel(<SpatRaster>)
- ifelse for SpatRasters
-
image(<SpatRaster>)
- SpatRaster image method
-
impose(<SpatRasterCollection>)
- Impose the geometry of a SpatRaster to those in a SpatRasterCollection.
-
init(<SpatRaster>)
- Initialize a SpatRaster with values
-
set.names(<SpatRaster>) set.names(<SpatRasterDataset>) set.names(<SpatVector>) set.ext(<SpatRaster>) set.ext(<SpatVector>) set.crs(<SpatRaster>) set.crs(<SpatVector>) set.values(<SpatRaster>) set.values(<SpatRasterDataset>) set.cats(<SpatRaster>) set.RGB(<SpatRaster>)
- Change values in-place
-
inset(<SpatVector>) inset(<SpatRaster>) inext(<SpatVector>)
- Make an inset map
-
interpIDW(<SpatRaster>,<SpatVector>) interpIDW(<SpatRaster>,<matrix>)
- Interpolate points using a moving window
-
interpNear(<SpatRaster>,<SpatVector>) interpNear(<SpatRaster>,<matrix>)
- Nearest neighbor interpolation
-
interpolate(<SpatRaster>)
- Spatial interpolation
-
intersect(<SpatVector>,<SpatVector>) intersect(<SpatVector>,<SpatExtent>) intersect(<SpatExtent>,<SpatVector>) intersect(<SpatExtent>,<SpatExtent>) intersect(<SpatRaster>,<SpatRaster>) intersect(<SpatRaster>,<SpatExtent>) intersect(<SpatExtent>,<SpatRaster>)
- Intersection
-
is.num(<SpatRaster>) is.bool(<SpatRaster>) as.bool(<SpatRaster>) is.int(<SpatRaster>) as.int(<SpatRaster>) is.factor(<SpatRaster>) as.factor(<SpatRaster>)
- Raster value types
-
is.empty(<SpatExtent>) is.empty(<SpatVector>)
- Check if a SpatExtent or SpatVector is empty
-
is.flipped(<SpatRaster>)
- Is a SpatRaster is flipped
-
is.lonlat(<SpatRaster>) is.lonlat(<SpatVector>) is.lonlat(<character>)
- Check for longitude/latitude crs
-
is.rotated(<SpatRaster>)
- Check for rotation
-
is.valid(<SpatVector>) makeValid(<SpatVector>) is.valid(<SpatExtent>)
- Check or fix polygon or extent validity
-
k_means(<SpatRaster>)
- k_means
-
lapp(<SpatRaster>) lapp(<SpatRasterDataset>)
- Apply a function to layers of a SpatRaster, or sub-datasets of a SpatRasterDataset
-
layerCor(<SpatRaster>)
- Correlation and (weighted) covariance
-
add_legend()
- add a custom legend
-
linearUnits(<SpatRaster>) linearUnits(<SpatVector>)
- Linear units of the coordinate reference system
-
points(<SpatVector>) lines(<SpatVector>) polys(<SpatVector>) points(<SpatRaster>) lines(<SpatRaster>) polys(<SpatRaster>) points(<SpatExtent>) lines(<SpatExtent>) polys(<SpatExtent>)
- Add points, lines, or polygons to a map
-
makeTiles(<SpatRaster>) getTileExtents(<SpatRaster>)
- Make tiles or get their extents
-
makeVRT()
- Make a VRT header file
-
map_extent()
- Get the coordinates of the extent of a map
-
map.pal()
- color palettes for mapping
-
mask(<SpatRaster>,<SpatRaster>) mask(<SpatRaster>,<SpatVector>) mask(<SpatRaster>,<SpatExtent>) mask(<SpatVector>,<SpatVector>) mask(<SpatVector>,<SpatExtent>)
- Mask values in a SpatRaster or SpatVector
-
match() `%in%`
- Value matching for SpatRasters
-
sqrt(<SpatRaster>) log(<SpatRaster>) round(<SpatRaster>) math(<SpatRaster>) round(<SpatVector>) cumsum(<SpatRaster>)
- General mathematical methods
-
mem_info() free_RAM()
- Memory available and needed
-
merge(<SpatRaster>,<SpatRaster>) merge(<SpatRasterCollection>,<missing>) merge(<SpatVector>,<data.frame>)
- Merge SpatRasters, or merge a SpatVector with a data.frame
-
mergeTime(<SpatRasterDataset>)
- merge SpatRasters by timelines to create a single timeseries
-
meta(<SpatRaster>)
- meta
-
`metags<-`(<SpatRaster>) metags(<SpatRaster>) `metags<-`(<SpatRasterDataset>) metags(<SpatRasterDataset>)
- Set or get metadata
-
minmax(<SpatRaster>) hasMinMax(<SpatRaster>) setMinMax(<SpatRaster>)
- Get or compute the minimum and maximum cell values
-
modal(<SpatRaster>)
- modal value
-
mosaic(<SpatRaster>,<SpatRaster>) mosaic(<SpatRasterCollection>,<missing>)
- mosaic SpatRasters
-
is.na(<SpatVector>) na.omit(<SpatVector>)
- Find and remove geometries that are NA
-
names(<SpatRaster>) `names<-`(<SpatRaster>) names(<SpatRasterDataset>) `names<-`(<SpatRasterDataset>) names(<SpatVector>) `names<-`(<SpatVector>)
- Names of Spat* objects
-
nearby(<SpatVector>) nearest(<SpatVector>)
- nearby geometries
-
normalize.longitude(<SpatVector>)
- normalize vector data that crosses the dateline
-
north()
- North arrow
-
not.na(<SpatRaster>)
- is not NA
-
nseg(<SpatVector>)
- Number of segments
-
origin(<SpatRaster>) `origin<-`(<SpatRaster>)
- Origin
-
pairs(<SpatRaster>)
- Pairs plot (matrix of scatterplots)
-
panel(<SpatRaster>)
- Map panel
-
patches(<SpatRaster>)
- Detect patches (clumps) of cells
-
perim(<SpatVector>)
- Perimeter or length
-
persp(<SpatRaster>)
- Perspective plot
-
pitfinder(<SpatRaster>)
- Pit Finder in a Flow Dir SpatRaster for Watershed Extraction
-
plet(<SpatRaster>) plet(<SpatRasterCollection>) plet(<SpatVector>) plet(<SpatVectorCollection>) lines(<leaflet>) points(<leaflet>) polys(<leaflet>)
- Plot with leaflet
-
plot(<SpatRaster>,<numeric>) plot(<SpatRaster>,<missing>) plot(<SpatRaster>,<character>) plot(<SpatVector>,<character>) plot(<SpatVector>,<numeric>) plot(<SpatVector>,<missing>) plot(<SpatVectorCollection>,<missing>) plot(<SpatVectorCollection>,<numeric>)
- Make a map
-
plotRGB(<SpatRaster>)
- Red-Green-Blue plot of a multi-layered SpatRaster
-
plot(<SpatExtent>,<missing>)
- Plot a SpatExtent
-
plot(<SpatGraticule>,<missing>)
- Plot a graticule
-
prcomp(<SpatRaster>)
- SpatRaster PCA with prcomp
-
predict(<SpatRaster>)
- Spatial model predictions
-
princomp(<SpatRaster>)
- SpatRaster PCA with princomp
-
project(<SpatVector>) project(<SpatRaster>) project(<SpatExtent>) project(<matrix>)
- Change the coordinate reference system
-
quantile(<SpatRaster>) quantile(<SpatVector>)
- Quantiles of spatial data
-
query(<SpatVectorProxy>)
- Query a SpatVectorProxy object
-
rangeFill(<SpatRaster>)
- Fill layers with a range
-
rapp(<SpatRaster>)
- Range-apply
-
rast(<character>) rast(<missing>) rast(<SpatRaster>) rast(<matrix>) rast(<data.frame>) rast(<array>) rast(<list>) rast(<SpatRasterDataset>) rast(<SpatVector>) rast(<SpatExtent>)
- Create a SpatRaster
-
rasterize(<SpatVector>,<SpatRaster>) rasterize(<matrix>,<SpatRaster>)
- Rasterize vector data
-
rasterizeGeom(<SpatVector>,<SpatRaster>)
- Rasterize geometric properties of vector data
-
rasterizeWin(<SpatVector>,<SpatRaster>) rasterizeWin(<data.frame>,<SpatRaster>)
- Rasterize points with a moving window
-
rcl(<SpatRaster>)
- Combine row, column, and layer numbers
-
readStart(<SpatRaster>) readStop(<SpatRaster>) readValues(<SpatRaster>) writeStart(<SpatRaster>,<character>) writeStop(<SpatRaster>) writeValues(<SpatRaster>,<vector>) blocks(<SpatRaster>) fileBlocksize()
- Read from, or write to, file
-
rectify(<SpatRaster>)
- Rectify a SpatRaster
-
regress(<SpatRaster>,<numeric>) regress(<SpatRaster>,<SpatRaster>)
- Cell level regression
-
relate(<SpatVector>,<SpatVector>) relate(<SpatVector>,<missing>) is.related(<SpatVector>,<SpatVector>)
- Spatial relationships between geometries
-
rep(<SpatRaster>)
- Replicate layers
-
`$<-`(<SpatRaster>) `$<-`(<SpatVector>) `$<-`(<SpatExtent>)
- Replace with $<-
-
`[[<-`(<SpatRaster>,<numeric>) `[[<-`(<SpatRaster>,<character>) `[[<-`(<SpatVector>,<numeric>) `[[<-`(<SpatVector>,<character>)
- Replace layers or variables
-
`[<-`(<SpatRaster>,<ANY>,<ANY>,<ANY>) `[<-`(<SpatVector>,<ANY>,<ANY>) `[<-`(<SpatExtent>,<numeric>,<missing>)
- Replace values of a SpatRaster
-
resample(<SpatRaster>,<SpatRaster>)
- Transfer values of a SpatRaster to another one with a different geometry
-
rescale(<SpatRaster>) rescale(<SpatVector>)
- rescale
-
roll(<SpatRaster>) roll(<numeric>)
- Rolling (moving) functions
-
rotate(<SpatRaster>) rotate(<SpatVector>)
- Rotate data along longitude
-
rowSums(<SpatRaster>) colSums(<SpatRaster>) rowMeans(<SpatRaster>) colMeans(<SpatRaster>)
- row/col sums and means for SpatRaster
-
same.crs()
- Compare coordinate reference systems
-
spatSample(<SpatRaster>) spatSample(<SpatVector>) spatSample(<SpatExtent>)
- Take a regular sample
-
sapp(<SpatRaster>) sapp(<SpatRasterDataset>)
- Apply a terra function that takes only a single layer and returns a SpatRaster to all layers of a SpatRaster
-
sbar()
- scale bar
-
scale(<SpatRaster>)
- Scale values
-
scale_linear(<SpatRaster>)
- Scale values linearly
-
plot(<SpatRaster>,<SpatRaster>)
- Scatterplot of two SpatRaster layers
-
scoff(<SpatRaster>) `scoff<-`(<SpatRaster>)
- Scale (gain) and offset
-
sds(<missing>) sds(<character>) sds(<SpatRaster>) sds(<list>) sds(<array>)
- Create a SpatRasterDataset
-
segregate(<SpatRaster>)
- segregate
-
sel(<SpatRaster>) sel(<SpatVector>)
- Spatial selection
-
selectHighest(<SpatRaster>)
- select cells with high or low values
-
selectRange(<SpatRaster>)
- Select the values of a range of layers, as specified by cell values in another SpatRaster
-
saveRDS(<SpatRaster>) saveRDS(<SpatRasterDataset>) saveRDS(<SpatRasterCollection>) saveRDS(<SpatVector>) serialize(<SpatRaster>) serialize(<SpatVector>)
- saveRDS and serialize for SpatVector and SpatRaster*
-
`values<-`(<SpatRaster>,<ANY>) setValues(<SpatRaster>,<ANY>) `values<-`(<SpatVector>,<ANY>)
- Set the values of raster cells or of geometry attributes
-
shade()
- Hill shading
-
sharedPaths(<SpatVector>)
- Shared paths
-
shift(<SpatRaster>) shift(<SpatVector>) shift(<SpatExtent>)
- Shift
-
sieve(<SpatRaster>)
- Sieve filter
-
simplifyGeom(<SpatVector>)
- simplifyGeom geometries
-
sort(<SpatRaster>) sort(<SpatVector>)
- Sort a SpatRaster or SpatVector
-
sources(<SpatRaster>) sources(<SpatVector>) hasValues(<SpatRaster>) inMemory(<SpatRaster>)
- Data sources of a SpatRaster
-
spin(<SpatVector>)
- spin a SpatVector
-
split(<SpatRaster>,<ANY>) split(<SpatVector>,<ANY>) split(<SpatVector>,<SpatVector>)
- Split a SpatRaster or SpatVector
-
sprc(<character>) sprc(<SpatRaster>) sprc(<list>) sprc(<missing>)
- Create a SpatRasterCollection
-
stretch(<SpatRaster>)
- Stretch
-
subset(<SpatRaster>) subset(<SpatVector>)
- Subset a SpatRaster or a SpatVector
-
`$`(<SpatExtent>)
- Subset a SpatRaster or a SpatVector
-
`[[`(<SpatRaster>,<numeric>,<missing>) `[[`(<SpatRasterDataset>,<ANY>,<ANY>) `[[`(<SpatVector>,<numeric>,<missing>)
- Subset a SpatRaster or a SpatVector
-
`[`(<SpatRaster>,<ANY>,<ANY>,<ANY>) `[`(<SpatVector>,<numeric>,<numeric>) `[`(<SpatVector>,<SpatVector>,<missing>) `[`(<SpatExtent>,<numeric>,<missing>)
- Extract values from a SpatRaster, SpatVector or SpatExtent
-
subst(<SpatRaster>)
- replace cell values
-
min(<SpatRaster>) max(<SpatRaster>) range(<SpatRaster>) prod(<SpatRaster>) sum(<SpatRaster>) any(<SpatRaster>) all(<SpatRaster>) which.min(<SpatRaster>) which.max(<SpatRaster>) stdev(<SpatRaster>) mean(<SpatRaster>) median(<SpatRaster>) anyNA(<SpatRaster>) countNA(<SpatRaster>) noNA(<SpatRaster>) allNA(<SpatRaster>)
- Summarize
-
summary(<SpatRaster>) summary(<SpatVector>)
- summary
-
surfArea(<SpatRaster>)
- Compute surface area from elevation data
-
svc(<missing>) svc(<SpatVector>) svc(<list>) svc(<character>)
- Create a SpatVectorCollection
-
symdif(<SpatVector>,<SpatVector>)
- Symmetrical difference
-
tapp(<SpatRaster>)
- Apply a function to subsets of layers of a SpatRaster
-
terra-package terra
- Description of the methods in the terra package
-
terraOptions()
- Options
-
terrain(<SpatRaster>)
- terrain characteristics
-
text(<SpatRaster>) text(<SpatVector>)
- Add labels to a map
-
thresh(<SpatRaster>)
- Thresholding
-
has.time(<SpatRaster>) time(<SpatRaster>) `time<-`(<SpatRaster>) timeInfo(<SpatRaster>)
- time of SpatRaster layers
-
tmpFiles()
- Temporary files
-
toMemory(<SpatRaster>) toMemory(<SpatRasterDataset>)
- Read all cell values into memory
-
mergeLines(<SpatVector>) snap(<SpatVector>) removeDupNodes(<SpatVector>) makeNodes(<SpatVector>)
- Vector topology methods
-
t(<SpatRaster>) t(<SpatVector>) trans(<SpatRaster>)
- Transpose
-
trim(<SpatRaster>)
- Trim a SpatRaster
-
union(<SpatVector>,<SpatVector>) union(<SpatVector>,<missing>) union(<SpatExtent>,<SpatExtent>)
- Union SpatVector or SpatExtent objects
-
unique(<SpatRaster>) unique(<SpatVector>)
- Unique values
-
units(<SpatRaster>) `units<-`(<SpatRaster>) units(<SpatRasterDataset>) `units<-`(<SpatRasterDataset>)
- units of SpatRaster or SpatRasterDataSet
-
update(<SpatRaster>)
- Change values in a file
-
values(<SpatRaster>) values(<SpatVector>)
- Cell values and geometry attributes
-
varnames(<SpatRaster>) `varnames<-`(<SpatRaster>) longnames(<SpatRaster>) `longnames<-`(<SpatRaster>) varnames(<SpatRasterDataset>) `varnames<-`(<SpatRasterDataset>) longnames(<SpatRasterDataset>) `longnames<-`(<SpatRasterDataset>)
- variable and long variable names
-
vect(<character>) vect(<matrix>) vect(<data.frame>) vect(<list>) vect(<SpatExtent>) vect(<SpatVectorCollection>) vect(<sf>)
- Create SpatVector objects
-
vector_layers()
- List or remove layers from a vector file
-
viewshed(<SpatRaster>)
- Compute a viewshed
-
voronoi(<SpatVector>) delaunay(<SpatVector>)
- Voronoi diagram and Delaunay triangles
-
vrt(<character>) vrt(<SpatRasterCollection>)
- Virtual Raster Dataset
-
vrt_tiles()
- filenames of VRT tiles
-
watershed(<SpatRaster>)
- Catchment delineation
-
weighted.mean(<SpatRaster>,<numeric>) weighted.mean(<SpatRaster>,<SpatRaster>)
- Weighted mean of layers
-
where.min(<SpatRaster>) where.max(<SpatRaster>)
- Where are the cells with the min or max values?
-
which.lyr(<SpatRaster>)
- Which cells are TRUE?
-
width(<SpatVector>) clearance(<SpatVector>)
- SpatVector geometric properties
-
`window<-`(<SpatRaster>) window(<SpatRaster>)
- Set a window
-
wrap(<SpatRaster>) wrap(<SpatRasterDataset>) wrap(<SpatRasterCollection>) wrap(<SpatVector>) unwrap(<ANY>)
- wrap and unwrap
-
wrapCache(<SpatRaster>)
- SpatRaster wrap with caching options
-
writeCDF(<SpatRaster>) writeCDF(<SpatRasterDataset>)
- Write raster data to a NetCDF file
-
writeRaster(<SpatRaster>,<character>)
- Write raster data to a file
-
writeVector(<SpatVector>,<character>)
- Write SpatVector data to a file
-
xapp(<SpatRaster>,<SpatRaster>)
- Apply a function to the cells of two SpatRasters
-
xmin(<SpatExtent>) xmax(<SpatExtent>) ymin(<SpatExtent>) ymax(<SpatExtent>) xmin(<SpatRaster>) xmax(<SpatRaster>) ymin(<SpatRaster>) ymax(<SpatRaster>) xmin(<SpatVector>) xmax(<SpatVector>) ymin(<SpatVector>) ymax(<SpatVector>) `xmin<-`(<SpatRaster>,<numeric>) `xmax<-`(<SpatRaster>,<numeric>) `ymin<-`(<SpatRaster>,<numeric>) `ymax<-`(<SpatRaster>,<numeric>)
- Get or set single values of an extent
-
xFromCol(<SpatRaster>,<numeric>) yFromRow(<SpatRaster>,<numeric>) xyFromCell(<SpatRaster>,<numeric>) xFromCell(<SpatRaster>,<numeric>) yFromCell(<SpatRaster>,<numeric>) colFromX(<SpatRaster>,<numeric>) rowFromY(<SpatRaster>,<numeric>) cellFromRowCol(<SpatRaster>,<numeric>,<numeric>) cellFromRowColCombine(<SpatRaster>,<numeric>,<numeric>) rowColCombine(<SpatRaster>,<numeric>,<numeric>) rowFromCell(<SpatRaster>,<numeric>) colFromCell(<SpatRaster>,<numeric>) rowColFromCell(<SpatRaster>,<numeric>) cellFromXY(<SpatRaster>,<matrix>)
- Coordinates from a row, column or cell number and vice versa
-
zonal(<SpatRaster>,<SpatRaster>) zonal(<SpatRaster>,<SpatVector>) zonal(<SpatVector>,<SpatVector>)
- Zonal statistics
-
zoom(<SpatRaster>) zoom(<SpatVector>)
- Zoom in on a map