The arity of a spray object: the number of indices needed to retrieve an entry, or the number of columns in the index matrix.
arity(S)
a spray object
Returns an integer
# NOT RUN { arity(spray(diag(1:6))) # }
Run the code above in your browser using DataCamp Workspace