summary.spray | R Documentation |
A summary method for spray objects, and a print method for summaries.
## S3 method for class 'spray'
summary(object, ...)
## S3 method for class 'summary.spray'
print(x, ...)
object , x |
Object of class |
... |
Further arguments, passed to |
A summary.spray
object is summary of a spray
object
x
: a list with first element being a summary()
of the
coefficients (which is a disord
object), and the second being a
spray
object comprising a few selected index-coefficient
pairs. The selection is done by head()
.
The “representative selection” is impementation-specific, as it
uses disordR::elements()
to extract rows of the index matrix
and coefficients.
Robin K. S. Hankin
a <- rspray()^2
a
summary(a)
summary(a,2)
options(polyform=TRUE)
summary(a^4,3)
options(polyform=FALSE) # restore default
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.