length.dsarray | R Documentation |
A length function for the data step array dsarray
.
The length function can by used either inside or outside the data step.
## S3 method for class 'dsarray'
length(x)
x |
The |
The number of items in the specified dsarray
.
Other datastep:
[.dsarray()
,
datastep()
,
delete()
,
dsarray()
,
dsattr()
,
output()
# Define datastep array
carr <- dsarray(names(mtcars))
length(carr)
# 11
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.