slicenames: The slice names of a DSArray

Description Usage Arguments Value Author(s) See Also

Description

Analogous to rownames and colnames, slicenames returns the names of the slices of a DSArray object. If x is a DSArray object then slicenames(x) is equivalent to dimnames(x)[3]. Similarly, slicenames(x) <- value sets the slicenames of the object.

Usage

1
2
3
slicenames(x)

slicenames(x) <- value

Arguments

x

A DSArray object.

value

Either NULL or a character vector of length equal to nslice(x).

Value

The getter returns either NULL or a character vector of length nslice(x).

Author(s)

Peter Hickey

Peter Hickey

See Also

base::rownames for the default rownames, `rownames<-`, colnames, `colnames<-` methods.


PeteHaitch/DSArray documentation built on May 8, 2019, 1:30 a.m.