huxtable (version 0.2.0)

tabular_environment: Tabular environment

Description

Functions to get or set the table-level tabular environment property of a huxtable.

Usage

tabular_environment(ht)
tabular_environment(ht) <- value
set_tabular_environment(ht, value)

Arguments

ht
A huxtable.
value
A length-one character vector. Set to NA for the default, 'tabularx'.

Value

For tabular_environment, the tabular_environment attribute. For set_tabular_environment, the ht object.

Details

No features are guaranteed to work if you set this to a non-default value. Use at your own risk!

Examples

Run this code

ht <- huxtable(a = 1:3, b = 1:3)
tabular_environment(ht) <-  'longtable'
tabular_environment(ht)

Run the code above in your browser using DataCamp Workspace