kmeans_outlier: Detects outliers using k-means clustering

Description Usage Arguments

View source: R/outlier_detection_functions.R

Description

Given a data.frame, determines which points lie furthest away from their cluster centroids

Usage

1
kmeans_outlier (df, cluster_max = 10, percentile = 95, k_scale = T, skip = c())

Arguments

df:

data.frame over which to run the algorithm

cluster_max:

the maximum number of clusters to test for providing feedback to the user

percentile:

the distance percentile in order to be deemed an outlier?

scale:

whether or not to scale the inputs

skip:

characer vector of which columns the algorithm should skip


zbeaver4/beavR documentation built on May 4, 2019, 9:12 p.m.