score <-
structure(function (data) 
    s = sum(as.matrix(data))
}, source = c("function(data)", "{", "#Function to determine the score measure that will be used to determine", 
"#candidates for outliers", "#data: vector containing distances to k nearest neighbors.", 
"", "#s=median(as.matrix(data))", "s=sum(as.matrix(data))", "return (s)", 

Try the dprep package in your browser

Any scripts or data that you put into this service are public.

dprep documentation built on May 29, 2017, 11:01 a.m.