nterms | R Documentation |
spray
objectNumber of nonzero terms in a spray
object
nterms(x)
## S3 method for class 'spray'
length(x)
x |
Object of class |
Number of nonzero terms in a spray
object. Function
length()
is defined so that seq_along()
works as
expected
Robin K. S. Hankin
(a <- rspray())
nterms(a)
seq_along(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.