corner: Show upper left corner of a matrix

View source: R/utilities.R

cornerR Documentation

Show upper left corner of a matrix

Description

This function prints the upper left corner of a matrix.

Usage

corner(dat, n = 6, m = 4)

Arguments

dat

A matrix or dataframe

n

Number of rows to be shown at most

m

Number of columns to be shown at most

Value

A matrix or data.frame with n rows and m columns

Author(s)

float

Examples

corner(matrix(rnorm(1000),100,100))


floatofmath/bt88.03.704 documentation built on March 25, 2022, 12:28 p.m.