phiDelta.stats {phiDelta} | R Documentation |
Phi delta statistics from dataframe
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
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
x <- climate_data
phiDelta <- phiDelta.stats(x[,-1],x[,1], ratio_corrected = FALSE)
with_ratio <- phiDelta.stats(x[,-1],x[,1])
[Package phiDelta version 1.0.1 Index]