dimnames {narray}R Documentation

Return dimension names of an array respecting the number of dimensions

Description

Act on each element if 'x' is a list

Usage

dimnames(x, along = TRUE, null_as_integer = FALSE,
  drop = !identical(along, TRUE))

Arguments

x

An n-dimensional array

along

Limit to dimension (default: all)

null_as_integer

Whether nameless dimensions should be NULL or numbered

drop

Drop list of only one axis requested (default: if not returning all dimensions)

Value

A list of dimension names with length length(ndim(X))


[Package narray version 0.5.1 Index]