Apply function on a subset of columns (.SDcols) whilst applying a different function on another column (within groups) August 25, 2023 by Tarik