Calculate ratio based on baseline 24 hours values in R
I’m working with longitudinal dataset, in which i recorded an experiment for 72 hours. The first 24 hours were a baseline recording, after 24 hours I started experimental conditions. The simplified dataframe looks something like this: