summary.spray {spray} | R Documentation |
Summaries of spray objects
Description
A summary method for spray objects, and a print method for summaries.
Usage
## S3 method for class 'spray'
summary(object, ...)
## S3 method for class 'summary.spray'
print(x, ...)
Arguments
object , x |
Object of class |
... |
Further arguments, passed to |
Details
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()
.
Note
The “representative selection” is impementation-specific, as it
uses disordR::elements()
to extract rows of the index matrix
and coefficients.
Author(s)
Robin K. S. Hankin
Examples
a <- rspray()^2
a
summary(a)
summary(a,2)
options(polyform=TRUE)
summary(a^4,3)
options(polyform=FALSE) # restore default
[Package spray version 1.0-25 Index]