headtail: Get the top and bottom of a 'data.frame'

View source: R/summaries.R

headtailR Documentation

Get the top and bottom of a data.frame

Description

Uses rbind to return the head and tail of a sufficiently large data.frame.

Usage

headtail(x, n = 10, n.head = n, n.tail = n)

Arguments

x

A data.frame

n, n.head, n.tail

Number of rows to head and tail

Value

A data.frame of n.head and n.tail rows. If nrow(x) would return overlapped rows, x is returned.


ChristopherBarrington/helpr documentation built on Oct. 25, 2024, 9:17 a.m.