dist_to_middle {phiDelta}R Documentation

distance to the middle of the space

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

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

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

[Package phiDelta version 1.0.1 Index]