head.index0 {index0} | R Documentation |
Works like utils::head()
and utils::tail()
.
## S3 method for class 'index0'
head(x, ...)
## S3 method for class 'index0'
tail(x, ...)
x |
An |
... |
Other arguments, passed to generic function |
Just because an object is zero-indexed, doesn't mean that the definition of,
for example, "the first 5 elements" or "the last two elements" has changed.
Thus we add methods head()
and tail()
to ensure they behave as normal.
An index0
object