Description Usage Arguments Details Value Author(s) References Examples

A function that finds the local outlier factor (Breunig et al.,2000) of the matrix "data" using k neighbors. The local outlier factor (LOF) is a measure of outlyingness that is calculated for each observation. The user decides whether or not an observation will be considered an outlier based on this measure. The LOF takes into consideration the density of the neighborhood around the observation to determine its outlyingness.

1 |

`data` |
The data set to be explored |

`k` |
The kth-distance to be used to calculate the LOF's. |

The LOFs are calculated over a range of values, and the max local outlier factor is determined over this range.

`lof` |
A vector with the local outlier factor of each observation |

Caroline Rodriguez

Breuning, M., Kriegel, H., Ng, R.T, and Sander. J. (2000). LOF: Identifying density-based local outliers. In Proceedings of the ACM SIGMOD International Conference on Management of Data.

1 2 3 |

dprep documentation built on May 19, 2017, 8:13 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.