print_methods: Clintable print method

print.clintableR Documentation

Clintable print method

Description

Extraction of flextable print method with special handling of clintable pages and

Usage

## S3 method for class 'clintable'
print(x, n = 3, nrows = 15, apply_defaults = TRUE, ...)

## S3 method for class 'clintable'
knit_print(x, n = 3, nrows = 15, apply_defaults = TRUE, ...)

Arguments

x

A clintable object

n

Number of pages within the clintable to print. Only used when pagination is configured

nrows

Number of rows to print. Only used when rows aren't configured within the pagination method

apply_defaults

Apply default styles. These styles are stored in the options clinify_header_default, clinify_footer_default, and clinify_table_default respectively. Defaults to true.

...

Additional parameters passed to flextable print method

Value

Invisible

Examples


ct <- clintable(mtcars)

print(ct)

ct <- clin_alt_pages(
  ct,
  key_cols = c('mpg', 'cyl', 'hp'),
  col_groups = list(
    c('disp', 'drat', 'wt'),
    c('qsec', 'vs', 'am'),
    c('gear', 'carb')
  )
)

print(ct)


clinify documentation built on April 12, 2025, 1:45 a.m.