Learn R Programming

sourceR (version 1.0.1)

sliceTensor: Slices a tensorA::tensor

Description

Slices a tensorA::tensor, preserving the dimnames. This is a workaround for a buggy implementation of [.tensor as of tensorA v0.36.

Usage

sliceTensor(x, ...)

Arguments

x
tensor array to be sliced
...
arguments used to subset the sensor array