Learn R Programming

huxtable (version 5.5.7)

tabular_environment: Set the table's tabular environment in LaTeX

Description

By default this is either "tabular" or "tabularx".

Usage

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

Value

tabular_environment() returns the tabular_environment property. set_tabular_environment() returns the modified huxtable.

Arguments

ht

A huxtable.

value

A string. Set to NA to reset to the default, which is "NA".

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

tabular_environment(jams) <-  "longtable"
tabular_environment(jams)

Run the code above in your browser using DataLab