Hello Rstudio community,
I am trying to downsample my dataset. I have a dataset (datatable) with continuous measurement ratings of some videos, there are two ratings per second in the dataset. I need to add a different set of continuous measurement ratings (of the same videos) so I can compare both ratings in a correlation. However, the second dataset has 1 rating for every two seconds. I want both datasets to have the same amount of ratings per video, so I want to downsample the first dataset to also have 1 rating per 2 seconds.
Does anyone know how I would be able to do this? I can't seem to figure it out..
Thank you in advance!