powered by
Create Markdown representing a huxtable
print_md(ht, ...)to_md(ht, ...)# S3 method for huxtable to_md(ht, header = TRUE, min_width = getOption("width")/4, max_width = 80, ...)
to_md(ht, ...)
# S3 method for huxtable to_md(ht, header = TRUE, min_width = getOption("width")/4, max_width = 80, ...)
A huxtable.
Arguments passed to methods.
Logical. Print the first row as a header?
Minimum width in on-screen characters of the result.
Maximum width in on-screen characters of the result. Overrides min_width.
min_width
to_md returns a string. print_md prints the string and returns NULL.
to_md
print_md
NULL
Only align and caption properties are used. The markdown format is multiline_tables, see the rmarkdown documentation.
align
caption
multiline_tables
Other printing functions: print_html, print_latex, print_screen
print_html
print_latex
print_screen
# NOT RUN { ht <- huxtable(a = 1:5, b = 1:5) print_md(ht) # }
Run the code above in your browser using DataLab