head2: Head and tail in two dimensions

Description

Restrict not only the number of rows, but also the number of columns.

Usage

1
2
3
head2(x, m = 6, n = NULL)

tail2(x, m = 6, n = NULL)

Arguments

x

data.frame or matrix

m

integer. Number of rows to keep.

n

integer. Number of columns to keep.

Author(s)

kaiyin


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.