vecprint: Print beginning and end of big vector
Description
Print beginning and end of big vector
Usage
vecprint(x, maxlength = 16, digits = getOption("digits"))
# S3 method for vecprint
print(x, quote = FALSE, …)
Arguments
maxlength
max number of elements for printing
Value
a list of class 'vecprint' with components
subscript a list with two vectors of subscripts: vector begin and vector end
example the extracted example vector as.character including seperator
sep the row seperator ":"
Examples
Run this code# NOT RUN {
vecprint(10000:1)
# }
Run the code above in your browser using DataLab