tables | R Documentation |
Functions related to parsing LaTeX tables
is_Tabular(item)
find_tabular(items, start = 1)
item |
An item from a LaTeX2 list object. |
items |
A LaTeX2 list object. |
start |
Where to start looking. |
is_Tabular()
returns boolean indicating if this is
a tabular-like environment.
find_tabular()
returns the index of the first
tabular-like environment, or NA
if none is found.
latex <- kableExtra::kbl(mtcars[1:2, 1:2], format = "latex")
parsed <- parseLatex(latex)
is_Tabular(parsed[[2]])
find_tabular(parsed)
table <- parsed[[find_tabular(parsed)]]
table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.