Print beginning and end of big matrix
matprint.rdPrint beginning and end of big matrix
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
Examples
matprint(matrix(1:(300*400), 300, 400))
#> [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,393] [,394]
#> [1,] 1 301 601 901 1201 1501 1801 2101 : 117601 117901
#> [2,] 2 302 602 902 1202 1502 1802 2102 : 117602 117902
#> [3,] 3 303 603 903 1203 1503 1803 2103 : 117603 117903
#> [4,] 4 304 604 904 1204 1504 1804 2104 : 117604 117904
#> [5,] 5 305 605 905 1205 1505 1805 2105 : 117605 117905
#> [6,] 6 306 606 906 1206 1506 1806 2106 : 117606 117906
#> [7,] 7 307 607 907 1207 1507 1807 2107 : 117607 117907
#> [8,] 8 308 608 908 1208 1508 1808 2108 : 117608 117908
#> : : : : : : : : : : : :
#> [293,] 293 593 893 1193 1493 1793 2093 2393 : 117893 118193
#> [294,] 294 594 894 1194 1494 1794 2094 2394 : 117894 118194
#> [295,] 295 595 895 1195 1495 1795 2095 2395 : 117895 118195
#> [296,] 296 596 896 1196 1496 1796 2096 2396 : 117896 118196
#> [297,] 297 597 897 1197 1497 1797 2097 2397 : 117897 118197
#> [298,] 298 598 898 1198 1498 1798 2098 2398 : 117898 118198
#> [299,] 299 599 899 1199 1499 1799 2099 2399 : 117899 118199
#> [300,] 300 600 900 1200 1500 1800 2100 2400 : 117900 118200
#> [,395] [,396] [,397] [,398] [,399] [,400]
#> [1,] 118201 118501 118801 119101 119401 119701
#> [2,] 118202 118502 118802 119102 119402 119702
#> [3,] 118203 118503 118803 119103 119403 119703
#> [4,] 118204 118504 118804 119104 119404 119704
#> [5,] 118205 118505 118805 119105 119405 119705
#> [6,] 118206 118506 118806 119106 119406 119706
#> [7,] 118207 118507 118807 119107 119407 119707
#> [8,] 118208 118508 118808 119108 119408 119708
#> : : : : : : :
#> [293,] 118493 118793 119093 119393 119693 119993
#> [294,] 118494 118794 119094 119394 119694 119994
#> [295,] 118495 118795 119095 119395 119695 119995
#> [296,] 118496 118796 119096 119396 119696 119996
#> [297,] 118497 118797 119097 119397 119697 119997
#> [298,] 118498 118798 119098 119398 119698 119998
#> [299,] 118499 118799 119099 119399 119699 119999
#> [300,] 118500 118800 119100 119400 119700 120000