powered by
calculates the distance of the tuple to the closer corner of top and bottom of the phi delta space with ratio 1. This can be used for a ranking of the features
dist_to_top(phi, delta)
numeric value or vector of phi
numeric value or vector of delta
distance to the top or the bottom corner
# NOT RUN { dist_to_top(1,0) dist_to_top(0.5,0.3) # }
Run the code above in your browser using DataLab