show: Convert a hyerSpec object to character strings for Display...

Description Usage Arguments Value See Also Examples

Description

print, show, and summary differ only in the defaults. show displays the range of values instead,

print shows the overview giving the first and last values of each data column (fastest).

summary displays the logbook in addition.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## S4 method for signature 'hyperSpec'
as.character(x, digits = getOption("digits"),
  range = TRUE, max.print = 5, shorten.to = c(2, 1))

## S4 method for signature 'hyperSpec'
show(object)

## S4 method for signature 'hyperSpec'
print(x, range = FALSE, ...)

## S4 method for signature 'hyperSpec'
summary(object, ...)

Arguments

x

a hyperSpec object

digits

number of digits handed over to format

range

should the values be indicated as range rather then first and last elements?

max.print

maximum number of elements to be printed (of a variable)

shorten.to

if a vector is longer than max.print, only the first shorten.to[1] and the last shorten.to[2] elements are printed

object

a hyperSpec object

...

print and summary hand further arguments to as.character

Value

as.character returns a character vector fit to be printed by cat with sep = "\n".

print invisibly returns x after printing, show returns an invisible NULL.

See Also

as.character

show

print

summary

Examples

1
2
3
4
5
6
7
chondro

show (chondro)

summary (chondro)

print (chondro, range = TRUE)

hyperSpec documentation built on May 2, 2019, 5:45 p.m.