Package 'granulated'

Title: Define Rectangular Regions with Granularity
Description: A granule is a rectangular extent with an implied discretization. The default granularity is 1x1, the range is a whole divisor of itself. This is the general concept of a raster, a rectangular window with discretization. The common extent or bounding box concept can be thought of as the degenerate case (1x1).
Authors: Michael D. Sumner [aut, cre], Robert Hijmans [ctb] (wrote much of the logic used here)
Maintainer: Michael D. Sumner <[email protected]>
License: MIT + file LICENSE
Version: 0.0.0.9001
Built: 2024-10-17 03:44:00 UTC
Source: https://github.com/hypertidy/granulated

Help Index


Title

Description

Title

Usage

col_from_cell(x, cell)

Arguments

cell

Title

Description

Title

Usage

coords(x)

Arguments

x

Extent is a workhorse, from this is derived xlim,ylim,xmin,xmax,ymin,ymax and from those x_res,y_res,x,y_centre,corner, etc.

Description

Extent is a workhorse, from this is derived xlim,ylim,xmin,xmax,ymin,ymax and from those x_res,y_res,x,y_centre,corner, etc.

Usage

extent(x)

Title

Description

Title

Usage

ncol.grain(x)

Arguments

x

Title

Description

Title

Usage

nrow.grain(x)

Arguments

x

Title

Description

Title

Usage

## S3 method for class 'grain'
plot(x, show = c("centre", "corner"))

Arguments

show

Title

Description

Title

Usage

row_from_cell(x, cell)

Arguments

cell

Title

Description

Title

Usage

x_centre(x)

Arguments

x

Title

Description

Title

Usage

x_corner(x)

Arguments

x

Title

Description

Title

Usage

x_from_cell(x, cell)

Arguments

cell

Title

Description

Title

Usage

x_from_col(x, y)

Arguments

y

Title

Description

Title

Usage

y_centre(x)

Arguments

x

Title

Description

Title

Usage

y_corner(x)

Arguments

x

Title

Description

Title

Usage

y_from_cell(x, cell)

Arguments

cell

Title

Description

Title

Usage

y_from_row(x, y)

Arguments

y

Title

Description

Title

Usage

y_res(x)

Arguments

x