summary.objects.summary: Summary Method for 'objects.summary' Objects

View source: R/summary.objects.summary.R

summary.objects.summaryR Documentation

Summary Method for objects.summary Objects

Description

Summarize an object of class objects.summary with some specific formatting options before using summary.data.frame.

Usage

## S3 method for class 'objects.summary'
summary(
  object,
  ...,
  data.class.width = getOption("osum.data.class.width", default = NULL),
  format.extent = getOption("osum.format.extent", default = TRUE)
)

Arguments

object

object of class objects.summary

...

further arguments to be passed down to summary.data.frame

data.class.width

integer indicating the width of the data.class field when it is a list (when objects.summary was called with all.classes = TRUE). Default: getOption("osum.data.class.width", default = NULL)

format.extent

logical indicating whether the extent field should be formatted as product (d1 x d2) or left as list (d1, d2). Default: getOption("osum.format.extent", default = TRUE)

Value

A matrix of class "table", obtained by applying summary to each column of the object (after applying the specific formatting according to the arguments' values) and collating the results.

See Also

objects.summary, summary.data.frame, quantile

Examples

os <- objects.summary("package:datasets")
print(summary(os, format.extent = FALSE, maxsum = 10, quantile.type = 7))
print(summary(os, format.extent = TRUE, maxsum = 12, quantile.type = 1))

osum documentation built on Sept. 11, 2024, 5:58 p.m.