I have trouble finding the right code for the following problem:
My data table has multiple columns representing different variables representing repeated measurements. I