DIM: Determine the dimensions of an array or vector

View source: R/utilites.R

DIMR Documentation

Determine the dimensions of an array or vector

Description

Used to give the dimensions of any array or vector. A vector is considered 1 dimensional and this function will return its length.

Usage

DIM(x)

Arguments

x

The input to be inspected and have its dimensions returned

Value

An integer vector containing either the length of the vector or the integer dimensions of the array.

See Also

Extension for dim in the same vein as ncol to NCOL.


NumbersInternational/flipU documentation built on March 2, 2024, 10:55 a.m.