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

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.