# NOT RUN {
---- Detecting the top outliers using the LOF algorithm
# }
# NOT RUN {
---- with k = 5,6,7,8,9 and 10, respectively----
# }
# NOT RUN {
data(iris)
df<-iris[-5]
# }
# NOT RUN {
df.lof<-lof(df,c(5:10),cores=2)
# }
Run the code above in your browser using DataLab