Skip to contents

Converts x to a gt::gt() table via to_gt(), renders it in the RStudio (or default) Viewer pane, and prints a short structural summary of x to the console via show_info().

Usage

# S3 method for class 'procr_table'
print(x, ...)

Arguments

x

A procr_table object.

...

Arguments passed on to to_gt

show_unit

Logical. If TRUE (default) and units have been set via set_data_unit(), units are displayed in a separate row below the column header.

Value

The gt object produced by to_gt(), returned invisibly. The function is called for its side effects: printing to the Viewer and to the console.

See also

to_gt() for the underlying conversion, show_info() for the console summary.