Create an interactive document in HTML based on corrgrapher
object.
save_to_html(cgr, file = "report.html", overwrite = FALSE, ...)
cgr | An object of |
---|---|
file | File to write content to; passed directly to |
overwrite | If |
... | Other parameters |
A file of file
name will be generated with 2 elements: graph of correlations in the middle and a plot on the right.
If x
was created from explainer
, the plot will visualize partial dependency
of the currently selected variable.
In other case, the plot will visualize distribution of the variable.