plot_curve {outlierMBC}R Documentation

Plot the dissimilarity curve.

Description

Given the output from ombc_gmm or ombc_lcwm, this function extracts the dissimilarity value associated with each outlier number and plots them as a curve. It also draws a vertical line at the outlier number which minimised the dissimilarity.

Usage

plot_curve(ombc_out)

Arguments

ombc_out

An "outliermbc_gmm" or "outliermbc_lcwm" object, i.e. an output from ombc_gmm or ombc_lcwm.

Value

plot_curve returns a ggplot object showing the dissimilarity values as a curve and marking the minimum solution with a vertical line.


[Package outlierMBC version 0.0.1 Index]