In the gene pool cutoff function [here](https://github.com/emreg00/pepper/blob/master/classify_simple.R#L241), why is the cumulative sum being subtracted from 1? As per the paper we must be implementing this, <img src="https://user-images.githubusercontent.com/16854126/54976672-128ca380-4fc1-11e9-9863-cd44292c2485.png" width="200" height="60" /> So, I am guessing the subtraction from one must be removed, or is it actually implemented correctly ? Thanks.
In the gene pool cutoff function here, why is the cumulative sum being subtracted from 1?
As per the paper we must be implementing this,

So, I am guessing the subtraction from one must be removed, or is it actually implemented correctly ?
Thanks.