Thin wrapper around dbscan::lof()

flag_local_outliers(df, context, iqrMult = 2, ...)

Arguments

df

Dataframe with context and all other columns defining the space in which to look for outliers (usually environmental variables such as climate or satellite variables)

context

Character. Name of columns defining context.

iqrMult

Used in quantile(x, probs = 0.75) + iqrMult * IQR(x) to set the threshold for an outlier. e.g. ggplot2::geom_boxplot() default value is 1.5.

...

Passed to dbscan::lof()