length.dsarray {libr} | R Documentation |
Length function for dsarray class
Description
A length function for the data step array dsarray
.
The length function can by used either inside or outside the data step.
Usage
## S3 method for class 'dsarray'
length(x)
Arguments
x |
The |
Value
The number of items in the specified dsarray
.
See Also
Other datastep:
[.dsarray()
,
datastep()
,
delete()
,
dsarray()
,
dsattr()
,
output()
Examples
# Define datastep array
carr <- dsarray(names(mtcars))
length(carr)
# 11
[Package libr version 1.3.4 Index]