dist_to_middle: distance to the middle of the space

Description Usage Arguments Value Author(s) Examples

View source: R/phi_delta.R

Description

calculates the euclidic distance of a phi delta tuple to the middle of the phi delta space. This could be used for a rating of the features

Usage

1
dist_to_middle(phi, delta, ratio)

Arguments

phi

numeric value or vector of phi

delta

numeric value or vector of delta

ratio

is the ratio of positive and negative of the data. The default is 1

Value

the euclidic distance of the tuple to the middle

Author(s)

rothe

Examples

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

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