summary: Summaries of spray objects

summary.sprayR 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 spray

...

Further arguments, passed to head()

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

spray documentation built on Aug. 10, 2023, 5:11 p.m.