Description Usage Arguments Value
Calculates the local outlier factor (LOF) for multidimensional data
1 |
x |
a matrix or data frame of data points. Each row is a data point, each column is a dimension. |
k |
number of nearest neighbors in the LOF calculation (default 5). |
metric |
distance metric to use. This must be one of "euclidean", "maximum", "manhattan", "canberra", "binary" or "minkowski". Any unambiguous substring can be given, case-insensitive |
q |
the power of the Minkowski distance. |
a vector of LOF values, in the same order as the data points in x
. NA values will be returned for those data points which contained at least one NA coordinate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.