corner: Print the top left corner of a data frame

View source: R/utils-tables.R

cornerR Documentation

Print the top left corner of a data frame

Description

Prints the first n rows and columns of a data frame or matrix.

Usage

corner(x, n = 5)

Arguments

x

A data.frame.

n

The number of rows/columns to print.

Value

The corner of the data frame

Examples

corner(mtcars)
corner(iris, n=4)


Tmisc documentation built on Aug. 23, 2023, 1:07 a.m.