R: number of dimensions

ndim {arrayhelpers} | R Documentation

## number of dimensions

### Description

number of dimensions

### Usage

    ndim(a)

### Arguments

`a` | vector, matrix, or array
`...` | indexing instructions. The names of the arguments specify the dimension (i = 1st, j = 2nd, ...). The indexing expressions are the same as for `[`

### Value

integer: length of dim attribute

### Author(s)

Claudia Beleites

[Package arrayhelpers version 1.0-20160527 Index]