fromInd: Converts array indices to (x,y,z) coordinates

Description Usage Arguments Examples

View source: R/indexing.R

Description

Used for converting a flattened index to the (x,y,z) indices for an array with dimensions x.max x y.max x n, where n is arbitrary.

Usage

1
fromInd(ind, x.max, y.max)

Arguments

ind

index in an array

x.max

maximum value of x coordinates

y.max

maximum value of y coordinates

Examples

1
fromInd(ind = 100, x.max = 100, y.max = 100)

jmhewitt/dsdive documentation built on May 29, 2020, 5:18 p.m.