Creates a scatter plot of MEI vs MBD with the parabolic boundary and identified outliers highlighted.
# S3 method for outliergram
plot(
x,
col_normal = "gray60",
col_outlier = "red",
color_by_type = FALSE,
show_parabola = TRUE,
show_threshold = TRUE,
label = "index",
label_all = FALSE,
...
)A ggplot object (invisibly).
An object of class 'outliergram'.
Color for normal observations. Default is "gray60".
Color for outliers (used when color_by_type = FALSE).
Default is "red".
Logical. If TRUE, color outliers by their type. Default is FALSE.
Logical. If TRUE, draw the theoretical parabola. Default TRUE.
Logical. If TRUE, draw the adjusted threshold parabola. Default TRUE.
What to use for labeling outlier points. Options:
"index": Use numeric indices (default)
"id": Use observation IDs from the fdata object
A column name from the fdata metadata (e.g., "patient_id")
Logical. If TRUE, label all points, not just outliers. Default FALSE.
Additional arguments passed to plotting functions.