Create LaTeX representing a huxtable
print_latex(ht, ...)to_latex(ht, ...)
# S3 method for huxtable
to_latex(ht, tabular_only = FALSE, ...)
A huxtable.
Arguments to pass to methods.
Return only the LaTeX tabular, not the surrounding float.
to_latex
returns a string. print_latex
prints the string and returns NULL
.
Other printing functions: print_html
,
print_md
, print_screen
# NOT RUN {
ht <- huxtable(a = 1:3, b = letters[1:3])
print_latex(ht)
# }
Run the code above in your browser using DataLab