Combined Head and Tail Functions
Combined head and tail functions.
## S3 method for class 'ObjectArray' headt(x, nh=3, nt=nh, ...) ## S3 method for class 'MatrixLike' headt(x, nh=3, nt=nh, ...) ## S3 method for class 'data.frame' headt(x, nh=3, nt=nh, ...) ## S3 method for class 'matrix' headt(x, nh=3, nt=nh, ...) ## Default S3 method: headt(x, nh=3, nt=nh, ...)
x |
A suitable object. |
nh, nt |
Integers, the number of head/tail elements/rows. |
... |
Ignored. |
Currently, some of the functions return formatted character matrices, however, it's possible this may change in the future.
x <- matrix (1:2700, 30, 90) isep <- seq (3L, 27L, 3L) jsep <- seq (3L, 87L, 3L) pm <- as.PartMatrix (x, isep, jsep) headt (pm, 10, c (5, 1) )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.