proximity_indices: Make a distance-to-center matrix

Description Usage Arguments Value Note

View source: R/region_growing_functions.r

Description

For a matrix, order cells by distance to the center.

Usage

1
proximity_indices(nrow_ = 3, ncol_ = 6)

Arguments

nrow_

nr of rows of the matrix

ncol_

nr of columsn of the matrix

Value

a 2 row matrix where row 1: cell nr, and row 2: distance to center measured in cellnrs

Note

called in region_growing_wrapper.r


pieterbeck/CanHeMonR documentation built on May 25, 2019, 7:11 a.m.