dimnames: Return dimension names of an array respecting the number of...

View source: R/dimnames.r

dimnamesR 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))


mschubert/arraytools documentation built on Jan. 12, 2023, 8:21 a.m.