corner: Get top left corner of a matrix

Description Usage Arguments Value

Description

Get top left corner of a matrix

Usage

1
corner(mat, n = 6)

Arguments

mat

A matrix or list object.

n

The number of elements to show (number or rows and columns)

Value

Returns the first 'n' rows and 'n' columns of the matrix (top left corner)


lcolladotor/corner documentation built on June 1, 2019, 12:45 a.m.