I noticed that the R value used in the op_selectTopR function was passed R values which were percentages and sometimes if you have a small dictionary, the resulting R value turns out to be really small and this necessitates the addition of the 'ceil' function so that you can round of the fractional numbers to the nearest integers.
I noticed that the R value used in the op_selectTopR function was passed R values which were percentages and sometimes if you have a small dictionary, the resulting R value turns out to be really small and this necessitates the addition of the 'ceil' function so that you can round of the fractional numbers to the nearest integers.