powered by
Lrindex(origclass,origdata,proj,weight=TRUE,r=1)
data(iris) Lrindex(iris[,5],as.matrix(iris[,1:4]),r=1)
Run the code above in your browser using DataLab