waysToSplit: Brief report on ways to split a Raster* object

View source: R/waysToSplit.R

waysToSplitR Documentation

Brief report on ways to split a Raster* object

Description

Based on the passed arguments, this function returns three messages at the console. First, the number of splits for the Raster* object. Second, the number of rows and third, the number of columns of each split.

Usage

waysToSplit(h, v, raster)

Arguments

h

numeric, parts in which number of columns of raster will be split

v

numeric, parts in which the number of rows of raster will be split

raster

Raster* object to be split

Details

For an abuse of language, here we use the term split to signify cell or crop, which in the context of handling geo-referenced data structures are more common terms.

Value

At the console, there will be a summary indicating the number of splits for the Raster* object as well as the number of rows and columns of each split.


igapfill documentation built on June 8, 2025, 10:41 a.m.