flatten: Flatten a 3D array into a matrix by converting each matrix in...

Description Usage Arguments Value

View source: R/util.R

Description

Flatten a 3D array into a matrix by converting each matrix in the first two indicies into a vector. Mostly used to feed spatial data into the kstat function.

Usage

1
flatten(arr)

Arguments

arr

Three dimensional array.

Value

Two dimensional representation of arr


trevor-harris/kstat documentation built on Aug. 8, 2020, 12:15 a.m.