headtail: Show head and tail

View source: R/utils.R

headtailR Documentation

Show head and tail

Description

helper function to shorten display of a data frame

Usage

headtail(x, k = 3)

Arguments

x

a data frame

k

number of rows at top and bottom to show.

Value

No return value. Uses cat to show data

Examples

headtail(mtcars)

UsingR documentation built on March 18, 2022, 7:32 p.m.