mat_reduce_dim: Take a slice of a multidimensional array by fixing the...

Description Usage Arguments Value

View source: R/image_import.R

Description

Take a slice of a multidimensional array by fixing the coordinates in the last dimension(s)

Usage

1
mat_reduce_dim(mat, coords_last_dims)

Arguments

mat

Multidimensional array

coords_last_dims

One or more coordinates in the last one or more dimensions of the matrix

Value

The reduced matrix with last dimension(s) collapsed


pamelarussell/radtools documentation built on Dec. 16, 2019, 5:28 a.m.