View source: R/export_report.R
| render_report | R Documentation |
Renders a parameterized 'Quarto' report from the fitted 'earth' model results. Requires the 'quarto' R package and a 'Quarto' installation.
render_report(
earth_result,
output_format = "html",
output_file = NULL,
paper_size = "letter"
)
earth_result |
An object of class |
output_format |
Character. Output format: |
output_file |
Character. Path for the output file. If |
paper_size |
Character. Paper size for PDF output: |
The path to the rendered output file (invisibly).
result <- fit_earth(mtcars, "mpg", c("cyl", "disp", "hp", "wt"))
render_report(result, output_format = "html",
output_file = tempfile(fileext = ".html"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.