Skip to contents

Print a compact console preview of a gt_prop object.

Usage

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

Arguments

x

A gt_prop object.

...

Further arguments passed to methods.

Value

The input object, invisibly.

Details

The print method shows the dataset name, variable, selected level, optional grouping variable, and the display-ready proportion table.

Examples

x <- proportion_stats(mtcars, var = vs, by = am)
print(x)