im currently starting to work with rstudio for analyzing data in university and i have an issue i can't fix on my own.
I have several files with thousands of data lines (raw data). What I wanted to do is to determine intervals under several conditions and then to calculate mean-values for these intervals automatically in two different ways:
(1) Finding several intervals which last for exactly 10 seconds when (simultaneously) two more parameters are zero and then to calculate mean-values for these intervals.
(2) I can determine the exact times. I want R to identify intervals that i determine and to calculate mean-values for these intervals.
I hope I was able to describe what I want to do and that the community can help me.
Thanks a lot