Skip to contents

The function returns the dimensions of the array in which elements are organized.

Usage

# S4 method for VirtualArray
dim(x)

Arguments

x

A VirtualArray-derived class object.

Value

A numeric vector.

Examples

data(exemplar)
dim(exemplar)
#> [1] 3 4