Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 class 'matprint'
print(x, quote = FALSE, right = TRUE, ...)

Arguments

x

a matrix

maxdim

max number of rows and columns for printing

digits

see format

quote

see print

right

see print

...

see print

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

Author(s)

Jens Oehlschlägel

See Also

Examples

matprint(matrix(1:(300*400), 300, 400))

ff

Memory-Efficient Storage of Large Data on Disk and Fast Access Functions

v4.0.4
GPL-2 | GPL-3 | file LICENSE
Authors
Daniel Adler [aut], Christian Gläser [aut], Oleg Nenadic [aut], Jens Oehlschlägel [aut, cre], Martijn Schuemie [aut], Walter Zucchini [aut]
Initial release
2020-10-13

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.