print.clintable | R Documentation |
Extraction of flextable print method with special handling of clintable pages and
## 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, ...)
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 |
Invisible
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.