nterms {spray} | R Documentation |
Number of nonzero terms in a spray
object
Description
Number of nonzero terms in a spray
object
Usage
nterms(x)
## S3 method for class 'spray'
length(x)
Arguments
x |
Object of class |
Details
Number of nonzero terms in a spray
object. Function
length()
is defined so that seq_along()
works as
expected
Author(s)
Robin K. S. Hankin
Examples
(a <- rspray())
nterms(a)
seq_along(a)
[Package spray version 1.0-25 Index]