Return a small corner of an array object, like
taking only a few slices on each dimension.
An array (including a matrix or a data frame)
Numbers of items on each dimension. A negative number is interpreted as this many items at the end (like tail).
Further arguments specifying numbers of slices to return on each dimension.
head() for multidimensional arrays, with two differences:
(1) returns just a few items on each dimension, and (2) negative
numbers are treated like
An object like
x with fewer elements on each dimension.
Tony Plate email@example.com
1 2 3 4 5