| as.character,hyperSpec-method {hyperSpec} | R Documentation |
Convert a hyperSpec object to character strings for Display
print, show, and summary show the result of
as.character.
Description
print, show, and summary differ only in the defaults.
show displays the range of values instead,
Usage
## 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 |
digits |
number of digits handed over to |
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 |
object |
a |
... |
|
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
Examples
chondro
show (chondro)
summary (chondro)
print (chondro, range = TRUE)
[Package hyperSpec version 0.100.2 Index]