I need to aggregate the timestamp data from milliseconds to daily..
sample data:
System_ID n_iter value Timestamp
1 xXXXXXXXxx 1 511 2010-05-01 03:29:37.21
2 xXXXXXXXxx 2 513 2010-05-01 03:52:07.56
3 xXXXXXXXxx 3 234 2010-05-01 05:13:54.24
4 xXXXXXXXxx 4 112 2010-05-01 05:41:37.42
5 xXXXXXXXxx 5 173 2010-05-01 06:53:19.01
6 xXXXXXXXxx 6 112 2010-05-01 07:02:53.62
7 xXXXXXXXxx 7 232 2010-05-01 07:35:33.86
8 xXXXXXXXxx 8 776 2010-05-01 07:50:08.14
9 xXXXXXXXxx 9 887 2010-05-01 08:32:55.5
10 xXXXXXXXxx 10 332 2010-05-01 08:56:44.96
11 xXXXXXXXxx 11 778 2010-05-01 09:17:22.57
12 xXXXXXXXxx 12 998 2010-05-01 10:16:26.57
13 xXXXXXXXxx 13 300 2010-05-02 03:33:40.4
14 xXXXXXXXxx 14 400 2010-05-02 03:58:26.44
15 xXXXXXXXxx 15 400 2010-05-02 04:00:23.98
I need to aggregate data that is there in milliseconds to daily in R. Output should looklike below:
System_ID n_iter value Timestamp
xxxxxxxx 12 471.5 (Avg) 2010-05-01