Learn R Programming

huxtable (version 5.5.7)

table_environment: Set the "table" environment in LaTeX

Description

By default this is "table".

Usage

table_environment(ht)
table_environment(ht) <- value
set_table_environment(ht, value)

Value

table_environment() returns the table_environment property. set_table_environment() returns the modified huxtable.

Arguments

ht

A huxtable.

value

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

Details

No features are guaranteed to work if you set this to a non-default value. Use at your own risk! In particular, you may need to set latex_float() to a non-default value.

If position() is set to "wrapleft" or "wrapright", this value is overridden.

Examples

Run this code

table_environment(jams) <-  "table*"
table_environment(jams)

Run the code above in your browser using DataLab