Look at head and tail in one go.
ht(x, ...)
head
/tail
are defined.head
and tail
.Invisibly returns NULL
.
ht(letters)#> [1] "a" "b" "c" "d" "e" "f" #> ... #> [1] "u" "v" "w" "x" "y" "z"ht(freeny.x, n = 3)#> lag quarterly revenue price index income level market potential #> [1,] 8.79636 4.70997 5.82110 12.9699 #> [2,] 8.79236 4.70217 5.82558 12.9733 #> [3,] 8.79137 4.68944 5.83112 12.9774 #> ... #> lag quarterly revenue price index income level market potential #> [37,] 9.71774 4.29627 6.18768 13.1579 #> [38,] 9.74924 4.27839 6.19377 13.1625 #> [39,] 9.77536 4.27789 6.20030 13.1664