Learn R Programming

geocmeans (version 0.3.4)

focal_euclidean_arr_window: focal euclidean distance on a matrix with a given window for a cube

Description

focal euclidean distance on a matrix with a given window for a cube

Usage

focal_euclidean_arr_window(mat, window)

Value

a matrix with the euclidean distance of each cell to its neighbours.

Arguments

mat

an array (cube)

window

a numeric matrix (squared)