length.dsarray: Length function for dsarray class

Description Usage Arguments Value See Also Examples

View source: R/dsarray.R

Description

A length function for the data step array dsarray. The length function can by used either inside or outside the data step.

Usage

1
2
## S3 method for class 'dsarray'
length(x)

Arguments

x

The dsarray object.

Value

The number of items in the specified dsarray.

See Also

Other datastep: [.dsarray(), datastep(), dsarray(), dsattr()

Examples

1
2
3
4
5
# Define datastep array
carr <- dsarray(names(mtcars))

length(carr)
# 11

libr documentation built on Oct. 10, 2021, 1:07 a.m.