View source: R/generate_xor_reports.R
generate_xor_reportHTML | R Documentation |
Creates an HTML report with formatted table and plots for XOR pattern detection results.
generate_xor_reportHTML(
results,
data,
class_col,
output_file = "xor_detection_report.html",
open_browser = TRUE,
scale_data = TRUE,
quantile_lines = c(1/3, 2/3),
line_method = "quantile"
)
results |
Either a data frame from |
data |
Original dataset containing variables and classes. |
class_col |
Character specifying the class column name. |
output_file |
Character specifying the output HTML file name. Default: "xor_detection_report.html". |
open_browser |
Logical indicating whether to open the report in browser automatically. Default: TRUE. |
scale_data |
Logical indicating whether to scale variables in plots. Default: TRUE. |
quantile_lines |
Numeric vector of quantiles for reference lines in XY plots. Default: c(1/3, 2/3). |
line_method |
Method for boundary calculation ("quantile" or "range"). Default: "quantile". |
Invisibly returns the file path of the generated HTML report.
detect_xor
for XOR pattern detection,
generate_xor_reportConsole
for text-based report generation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.