These methods of base::format() and base::print() render a
(usually more) tidy readout of a tbl_ord that is consistent across all
original ordination classes.
# S3 method for tbl_ord
format(
x,
width = NULL,
...,
n = NULL,
max_extra_cols = NULL,
max_footer_lines = NULL
)# S3 method for tbl_ord
print(
x,
width = NULL,
...,
n = NULL,
max_extra_cols = NULL,
max_footer_lines = NULL
)
The format() method returns a vector of strings that are more
elegantly printed by the print() method, which itself returns the tbl_ord
invisibly.
A tbl_ord.
Width of text output to generate. This defaults to NULL, which
means use the width option.
Additional arguments.
Number of rows to show. If NULL, the default, will print all rows
if less than the print_max option.
Otherwise, will print as many rows as specified by the
print_min option.
Number of extra columns to print abbreviated information for,
if the width is too small for the entire tibble. If NULL,
the max_extra_cols option is used.
The previously defined n_extra argument is soft-deprecated.
Maximum number of footer lines. If NULL,
the max_footer_lines option is used.
The format and print methods for class 'tbl_ord' are adapted from those
for class 'tbl_df' and for class 'tbl_graph' from the
tidygraph package.
Note: The format() function is tedius but cannot be easily modularized
without invoking recoverers, annotation, and augmentation multiple
times, thereby significantly reducing performance.