summary.partition | R Documentation |
Provides a summary of an object of class partition
: usually the
first and last few partitions (columns)
## S3 method for class 'partition' summary(object, ...)
object |
Partition |
... |
Further arguments; see details section below |
The ellipsis arguments are used to pass how many columns at the start and the end of the matrix are selected; this defaults to 10.
The function is designed to behave as expected: if there is an
argument named “n
”, then this is used. If there is no
such argument, the first one is used.
A summary object is a list, comprising three elements:
shortened |
Boolean, with |
n |
Number of columns to return at the start and the end of the matrix |
out |
Matrix returned: just the first and last |
Robin K. S. Hankin
summary(parts(7)) summary(parts(11),3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.