phiDelta.stats: Phi delta statistics from dataframe

Description Usage Arguments Value Author(s) Examples

View source: R/phi_delta.R

Description

calculates phi, delta and the ratio directly from the dataframe with provided information and generates a list with the names of the features, their phi and delta value and the ratio

Usage

1
phiDelta.stats(data, labels, ratio_corrected = TRUE)

Arguments

data

dataframe without labels

labels

vector of labels

ratio_corrected

locigal, if true phi and delta will be calculated in respect to the ratio of positive and negative samples

Value

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

Author(s)

rothe

Examples

1
2
3
x <- climate_data
phiDelta <- phiDelta.stats(x[,-1],x[,1], ratio_corrected = FALSE)
with_ratio <- phiDelta.stats(x[,-1],x[,1])

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