Learn R Programming

quickOutlier (version 0.1.5)

plot_interactive: Create an Interactive Outlier Plot

Description

Generates an interactive scatter plot using 'plotly'. Outliers detected by the specified method are highlighted in red.

Usage

plot_interactive(data, x_col, y_col, confidence_level = 0.95)

Value

A plotly object.

Arguments

data

A data frame.

x_col

The name of the numeric column for the X-axis.

y_col

The name of the numeric column for the Y-axis.

confidence_level

Numeric. Threshold for detection (0.95, 0.99). Lower values make detection stricter.