This is an internal function of the R package practicalSigni Psychologists use effect size to evaluate the practical importance of a treatment on a dependent variable using a binary [0,1] variable. Assuming numerical data, we can always compute the median and regard values < or = the median as zero and other values as unity.
fncut(x)x vector of zeros and ones split at the median.
numerical vector of data values
Prof. H. D. Vinod, Fordham University, NY