Learn R Programming

via (version 0.2.0)

aggregate: Aggregate raster cells in a 'RasterArray'-class object

Description

The method is inherited from the 'SpatRaster' class.

Usage

# S4 method for RasterArray
aggregate(x, ...)

Value

An aggregated RasterArray-class object.

Arguments

x

a RasterArray-class object.

...

arguments passed to the aggregate function.

Examples

Run this code
library(terra)
ex <- rastex()
agg <- aggregate(ex, 30)

Run the code above in your browser using DataLab