topleft: Print topleft of matrix

View source: R/matrix_views.R

topleftR Documentation

Print topleft of matrix

Description

Print topleft of matrix

Usage

topleft(M, nView = 5)

Arguments

M

matrix to view

nView

Number of rows/cols to view

Value

print matrix

Examples

M <- diag(1:12)
topleft(M)
topleft(M, 3)

jlivsey/livsey documentation built on Oct. 17, 2024, 3:18 a.m.