Skip to contents

The number of elements of an array – the generic base::length() on an anvl array, i.e. the product of its axis sizes.

Usage

# S3 method for class 'AnvlArray'
length(x)

Arguments

x

(arrayish)
Input array.

Value

(integer(1))

See also

Examples

length(nv_matrix(1:6, nrow = 2))
#> [1] 6