I am currently able to collapse a group of rows into one to obtain the mean of multiple columns for each ID through the following pipe function:
group_by(cu