0
 Timestamp                Accelerometer.X Accelerometer.Y Accelerometer.Z
1 15-Jul-21 10:00:00.000           0.898          -0.230          -0.180
2 15-Jul-21 10:00:00.034           0.887          -0.402          -0.320
3 15-Jul-21 10:00:00.067           1.023          -0.387          -0.367
4 15-Jul-21 10:00:00.100           0.914          -0.398          -0.352
5 15-Jul-21 10:00:00.134           0.930          -0.426          -0.270
6 15-Jul-21 10:00:00.167           0.906          -0.320          -0.301

I have timestamp data in the above format. Timestamp is in character format. I want to get the summary statistics(min, max, sd) for each 1 min interval in R?

Park
  • 10,984
  • 6
  • 8
  • 27
  • Problem is a) convert to POSIXct datetime, b) use `cut( , , breaks="min"` as the grouping parameter for `aggregate`. All of these steps have been asked and answered. The trickiest one was the cut step so that was what I labeled as the duplicate. – IRTFM Dec 02 '21 at 05:44

0 Answers0