Learn R Programming

hyperSpec (version 0.95)

show: Convert a hyerSpec object to character strings for Display

Description

print, show, and summary show the result of as.character.

Usage

## S3 method for class 'hyperSpec':
show(object)
## S3 method for class 'hyperSpec':
print(x, log = FALSE, \dots)
## S3 method for class 'hyperSpec':
summary(object, log = TRUE, \dots)
## S3 method for class 'hyperSpec':
as.character(x, digits = getOption ("digits"), max.print = 5, shorten.to = c(2, 1), log = TRUE)

Arguments

x, object
a hyperSpec object
digits
number of digits handed over to format
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
log
should the log be printed?
...
print hands any 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

print, show, and as.character

Examples

Run this code
chondro

print (chondro, log = TRUE)

logbook (chondro)

Run the code above in your browser using DataLab