Learn R Programming

RNiftyReg (version 2.0.0)

ndim: Number of dimensions

Description

This function is shorthand for length(dim(object)).

Usage

ndim(object)

Arguments

object
An R object.

Value

  • The dimensionality of the object. Objects without a dim attribute will produce zero.