Create an interactive document in HTML based on corrgrapher object.

save_to_html(cgr, file = "report.html", overwrite = FALSE, ...)

Arguments

cgr

An object of corrgrapher class. See corrgrapher function.

file

File to write content to; passed directly to save_html.

overwrite

If file exists, should it be overwritten?

...

Other parameters

Value

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.