Learn R Programming

ff (version 4.0.4)

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

Arguments

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

See Also

vecprint

Examples

Run this code
# NOT RUN {
  matprint(matrix(1:(300*400), 300, 400))
# }

Run the code above in your browser using DataLab