dist_to_top: distance to top or bottom

Description Usage Arguments Value Author(s) Examples

View source: R/phi_delta.R

Description

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

Usage

1
dist_to_top(phi, delta)

Arguments

phi

numeric value or vector of phi

delta

numeric value or vector of delta

Value

distance to the top or the bottom corner

Author(s)

rothe

Examples

1
2
dist_to_top(1,0)
dist_to_top(0.5,0.3)

phiDelta documentation built on May 2, 2019, 2:46 a.m.