findUsableGroupRange: Select groups within given range
Description
This function aims to help finding streches/segments of data with a given maximum number of NA-instances.
This function is used to inspect/filter each lines of 'dat' for a subset with sufficient presence/absence of NA values (ie limit number of NAs per level of 'grp').
Note : optimal perfomance with n.lines >> n.groups