return_html | R Documentation |
Return HTML of table
return_html(x, include_css = TRUE, write = FALSE, path = "table.txt")
x |
A table object generated by table_format. Note that the return_html argument of table_format must be set to FALSE (default) for this function to work. |
include_css |
If TRUE, returns inline CSS for table formatting. TRUE by default. This is only returned if return_html is also TRUE |
write |
If TRUE, write results to the file specified in the path argument. FALSE by default. |
path |
File path to be written to if write is TRUE. "table.txt" in working directory by default. |
The HTML of the table provided.
table_format(cars) %>% return_html(write = TRUE, path = "Figure1.txt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.