swath_seq: Create a sequence of swath intervals for a given axis and...

Description Usage Arguments Value Author(s)

Description

Swath statistics are generated for slices through the spatial data. swath_seq generates slice intervals based on some input spatial data, a block size, and slice width. '

Usage

1
swath_seq(axis, slice_size, block_inc)

Arguments

axis

numeric vector of single axis coordinates (e.g., model$x).

slice_size

numeric swath slice size for the axis.

block_inc

numeric size of parent blocks in the model. The minimum and maximum coordinate of slicing is rounded to the nearest block_inc.

Value

numeric vector with a sequence of slice coordinates.

Author(s)

Alex Trueman


truemoid/swathr documentation built on May 3, 2019, 4:05 p.m.