.AddSlice: Add slice to 3D array
Description
Add slice to 3D array
Usage
.AddSlice(arr, slice, sliceName = NULL)
Value
A three-dimensional array formed by adding slice
to the end of
arr
.
Arguments
- arr
Three-dimensional array.
- slice
Two-dimensional matrix to add to array.
- sliceName
Character vector specifying name for new slice.