aggregateRasByDT: Aggregate a raster

aggregateRasByDTR Documentation

Aggregate a raster

Description

Uses data.table to perform aggregation calculations, which is faster than raster::aggregate.

Usage

aggregateRasByDT(ras, newRas, fn = sum)

Arguments

ras

RasterLayer to aggregate

newRas

RasterLayer to match

fn

function to use to aggregate pixel values

Value

RasterLayer


PredictiveEcology/LandR documentation built on June 7, 2024, 4:16 p.m.