powered by
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
phiDelta.stats(data, labels, ratio_corrected = TRUE)
dataframe without labels
vector of labels
locigal, if true phi and delta will be calculated in respect to the ratio of positive and negative samples
dataframe, first column are the names of the features second column the phi values third column the delta values
# NOT RUN { x <- climate_data phiDelta <- phiDelta.stats(x[,-1],x[,1], ratio_corrected = FALSE) with_ratio <- phiDelta.stats(x[,-1],x[,1]) # }
Run the code above in your browser using DataLab