headtail {UsingR}R 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)

[Package UsingR version 2.0-7 Index]