47_combined_head_and_tail: Combined Head and Tail Functions
Description
Combined head and tail functions.
Usage
# S3 method for ObjectArray
headt(v, nh=3, nt=nh, …)
# S3 method for MatrixLike
headt(v, nh=3, nt=nh, …)
# S3 method for data.frame
headt(v, nh=3, nt=nh, …)
# S3 method for matrix
headt(v, nh=3, nt=nh, …)
# S3 method for raster
headt(v, nh=3, nt=nh, …)
# S3 method for default
headt(v, nh=3, nt=nh, …)
Arguments
v
A suitable object.
nh, nt
Integers, the number of head/tail elements/rows.
In matrix-based objects, can also be a vector of length two.
(In which case, the second value applies to the number of columns).
Note that currently, in PartMatrix and SectMatrix objects, nh and nt includes formatted lines.
However, this may change, in the future.
…
Ignored.
Value
Currently, some of the functions return formatted character matrices, however, it's possible this may change in the future.