generate_xor_reportConsole {detectXOR}R Documentation

Generate XOR Detection Report (Console-friendly)

Description

Creates a report with formatted table and plots for XOR pattern detection results.

Usage

generate_xor_reportConsole(
  results,
  data,
  class_col,
  scale_data = TRUE,
  show_plots = TRUE,
  quantile_lines = c(1/3, 2/3),
  line_method = "quantile"
)

Arguments

results

Either a data frame from detect_xor$results_df or the full list returned by detect_xor.

data

Original dataset containing variables and classes.

class_col

Character specifying the class column name.

scale_data

Logical indicating whether to scale variables in plots. Default: TRUE.

show_plots

Logical indicating whether to display 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".

Value

Invisibly returns a list containing the formatted table and plots (if generated).

See Also

detect_xor for XOR pattern detection, generate_xor_reportHTML for HTML report generation


[Package detectXOR version 0.1.0 Index]