print: Print Zero-Indexed Values

Description Usage Arguments Note See Also

Description

When printing zero-indexed objects, it only seems fair that the printed output is zero-indexed as well. So we replace those little numbers in square brackets so that they start from zero.

Usage

1
2
3
4
5
## S3 method for class 'index0'
print(x, ...)

## S3 method for class 'index0'
str(object, ...)

Arguments

x, object

An object to inspect/print, of class index0.

...

Other arguments, passed to generic function

Note

Not yet implemented for matrices, arrays or data frames.

See Also

base::print, utils::str


Selbosh/index0 documentation built on Dec. 18, 2021, 1:04 p.m.