vaster: Tools for Raster Grid Logic

Provides raster grid logic, operations that describe a discretized rectangular domain and do not require access to materialized data. Grids are arrays with dimension and extent, and many operations are functions of dimension only: number of columns, number of rows, or they are a combination of the dimension and the extent the range in x and the range in y in that order. Here we provide direct access to this logic without need for connection to any materialized data or formats. Grid logic includes functions that relate the cell index to row and column, or row and column to cell index, row, column or cell index to position. These methods are described in Loudon, TV, Wheeler, JF, Andrew, KP (1980) <doi:10.1016/0098-3004(80)90015-1>, and implementations were in part derived from Hijmans R (2024) <doi:10.32614/CRAN.package.terra>.

Package details

AuthorMichael Sumner [aut, cre] (ORCID: <https://orcid.org/0000-0002-2471-7511>), Robert Hijmans [ctb] (Wrote original versions of abstract cell operations in raster package)
MaintainerMichael Sumner <mdsumner@gmail.com>
LicenseMIT + file LICENSE
Version0.6.0
URL https://github.com/hypertidy/vaster https://hypertidy.github.io/vaster/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("vaster")

Try the vaster package in your browser

Any scripts or data that you put into this service are public.

vaster documentation built on March 10, 2026, 5:08 p.m.