corner: Return top or bottom left corner of object

View source: R/utils.R

cornerR Documentation

Return top or bottom left corner of object

Description

Simple wrapper of head/tail that only prints the first few columns.

Usage

corner(x, n = 5, head = TRUE)

Arguments

x

same as for head

n

same as for head

head

logical: TRUE for head, FALSE for tail.

Value

same as for head/tail, but with the the same number of columns as rows.

Examples

corner(iris)

MalteThodberg/ThodbergMisc documentation built on April 23, 2024, 12:34 a.m.