tabular_environment {huxtable}R Documentation

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'.

Details

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

Value

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

Examples


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


[Package huxtable version 3.0.0 Index]