spray (version 1.0-25)

arity: The arity of a spray object

Description

The arity of a spray object: the number of indices needed to retrieve an entry, or the number of columns in the index matrix.

Usage

arity(S)

Value

Returns an integer

Arguments

S

a spray object

Author

Robin K. S. Hankin

Examples

Run this code
(a <- rspray())
arity(a)

Run the code above in your browser using DataLab