Skip to contents

Display the first and last n elements of a vector or matrix.

Usage

ht(x, n = 3)

Arguments

x

a vector or matrix.

n

an integer specifying the number of elements to display from head and tail.

Value

a matrix with head rows, a separator row of NA, and tail rows.