Learn R Programming

ff (version 4.5.0)

matprint: Print beginning and end of big matrix

Description

Print beginning and end of big matrix

Usage

matprint(x, maxdim = c(16, 16), digits = getOption("digits"))
# S3 method for matprint
print(x, quote = FALSE, right = TRUE, ...)

Value

a list of class 'matprint' with components

subscript

a list with four vectors of subscripts: row begin, column begin, row end, column end

example

the extracted example matrix as.characer including seperators

rsep

logical scalar indicating whether row seperator is included

csep

logical scalar indicating whether column seperator is included

Arguments

x

a matrix

maxdim

max number of rows and columns for printing

digits

see format

quote

see print

right

see print

...

see print

Author

Jens Oehlschlägel

See Also

vecprint

Examples

Run this code
  matprint(matrix(1:(300*400), 300, 400))

Run the code above in your browser using DataLab