| mt_save | R Documentation |
Auto-detects the format from the file extension.
mt_save(x, filename, ...)
x |
A melliotab object |
filename |
Output file path. Supported extensions: .html, .tex, .md |
... |
Additional arguments passed to format-specific functions |
Invisible file path
model <- lm(mpg ~ wt + hp, data = mtcars)
tbl <- melliotab(model, style = "apa7", title = "Results")
html_file <- tempfile(fileext = ".html")
tex_file <- tempfile(fileext = ".tex")
md_file <- tempfile(fileext = ".md")
mt_save(tbl, html_file)
mt_save(tbl, tex_file)
mt_save(tbl, md_file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.