Return HTML of table
return_html.Rd
Return HTML of table
Arguments
- 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.
Examples
table_format(cars) %>% return_html(write = TRUE, path = "Figure1.txt")