powered by
print
show
summary
as.character
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.
# S4 method for hyperSpec as.character(x, digits = getOption("digits"), range = TRUE, max.print = 5, shorten.to = c(2, 1))# S4 method for hyperSpec show(object)# S4 method for hyperSpec print(x, range = FALSE, ...)# S4 method for hyperSpec summary(object, ...)
# S4 method for hyperSpec show(object)
# S4 method for hyperSpec print(x, range = FALSE, ...)
# S4 method for hyperSpec summary(object, ...)
a hyperSpec object
hyperSpec
number of digits handed over to format
format
should the values be indicated as range rather then first and last elements?
maximum number of elements to be printed (of a variable)
if a vector is longer than max.print, only the first shorten.to[1] and the last shorten.to[2] elements are printed
max.print
shorten.to[1]
shorten.to[2]
print and summary hand further arguments to as.character
as.character returns a character vector fit to be printed by cat with sep = "\n".
cat
sep = "\n"
print invisibly returns x after printing, show returns an invisible NULL.
x
NULL
# NOT RUN { chondro show (chondro) summary (chondro) print (chondro, range = TRUE) # }
Run the code above in your browser using DataLab