Find local outliers
Usage
find_outliers(
df,
context,
do_out = c("lof", "LOOP"),
lof_minPts = 5,
LOOP_k = 5,
LOOP_lambda = 3,
iqrMult = 2
)
Arguments
- df
Dataframe with
context
and all other columns defining the space in which to look for outliers.- context
Character. Name of columns defining context.
- do_out
Character vector of methods to use.
- lof_minPts
dbscan::lof()
minPts
argument.- LOOP_k
DDoutlier::LOOP()
k
argument.- LOOP_lambda
DDoutlier::LOOP()
lambda
argument.- iqrMult
Used in
quantile(x, probs = 0.75) + iqrMult * IQR(x)
.ggplot2::geom_boxplot()
default value is1.5
.