phiDelta_from_data function

phi delta matrix

phi delta matrix

calculates phi and delta directly from the stats and generates a matrix with the names of the features, their phi and their delta value

phiDelta_from_data(stats, ratio_corrected = TRUE)

Arguments

  • stats: c_statistics
  • ratio_corrected: locigal, if true phi and delta will be calculated in respect to the ratio of positive and negative samples

Returns

dataframe, first column are the names of the features second column the phi values third column the delta values

Examples

x <- c_statistics(climate_data) phiDelta <- phiDelta_from_data(x, ratio_corrected = FALSE) with_ratio <- phiDelta_from_data(x)

Author(s)

rothe

  • Maintainer: Ursula Neumann
  • License: GPL (>= 2)
  • Last published: 2018-05-08

Useful links