as_latex.Mashed_table | R Documentation |
Convert a Mashed Table to Latex Code
## S3 method for class 'Mashed_table'
as_latex(
x,
mash_method = attr(x, "mash_method"),
id_vars = attr(x, "id_vars"),
insert_blank_row = attr(x, "insert_blank_row"),
sep_height = attr(x, "sep_height"),
...,
kable_options = default_kable_options()
)
x |
a |
mash_method |
either |
id_vars |
Only if mashing columns: one ore more colnames of the tables
to be mashed. If supplied, columns of both input tables are combined with
|
insert_blank_row |
Only if mashing rows: logical. Whether to insert blank rows between mash-groups. Warning: this converts all columns to character. Use with care. |
sep_height |
Only has an effect when exporting to |
... |
|
kable_options |
|
as_latex()
returns a character
scalar of Latex code
save_pdf()
returns a the path to the saved file as character
scalar.
view_pdf()
returns NULL
(invisibly)
Other as_latex methods:
as_latex.Composite_table()
,
as_latex.Tagged_table()
,
as_latex.Tatoo_report()
,
as_latex.data.frame()
,
as_latex()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.