corner: Print the top left corner of a data frame

View source: R/utils.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)


stephenturner/Tmisc documentation built on April 21, 2024, 8:31 a.m.