Learn R Programming

ff (version 4.5.0)

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, ...)

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 ":"

Arguments

x

a vector

maxlength

max number of elements for printing

digits

see format

quote

see print

...

see print

Author

Jens Oehlschlägel

See Also

matprint

Examples

Run this code
  vecprint(10000:1)

Run the code above in your browser using DataLab