ExtractWindow: ExtractWindow extracts a defined region of an array.

Description Usage Arguments Value Examples

View source: R/Creation_v0.6.R

Description

This extracts a number of cells from an array. Typically used in a moving window for example.

Usage

1
ExtractWindow(InMatrix, y, x, ySize = 3, xSize = 3)

Arguments

InMatrix

array - an input array from which a subset will be taken.

y

integer - central y location for subset.

x

integer - central x location for subset.

ySize

integer - height of window

xSize

integer - width of window

Value

array - an array smaller than the input array. Of the 3 by 3 by default or larger if specified.

Examples

1
TBA...

Zabados/LcvGen documentation built on Oct. 15, 2020, 6:23 a.m.