matprint: Print beginning and end of big matrix

Description Usage Arguments Value Author(s) See Also Examples

Description

Print beginning and end of big matrix

Usage

1
2
3
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

vecprint

Examples

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

OHDSI/ff documentation built on May 7, 2019, 8:30 p.m.