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


narray documentation built on Oct. 2, 2022, 5:08 p.m.