Hi,
I have a time series of data with time values to the nearest millisecond (eg. 08:04:15.137). How can I alter this so it is only recorded to the nearest second? i.e. 08:04:15
Alternatively, I have data with multiple records within one second, for example, with x and time fields:
x time
1 08:04:15.137
2 08:04:15.147
3 08:04:15.159
4 08:04:15.161
5 08:04:15.168
6 08:04:15.199
7 08:06:53.345
8 08:06:53.486
9 08:06:53.727
I only want to keep the first observation within each second, in this instance the data would now be:
x time
1 08:04:15
7 08:06:53
How would I go about this?
Thanks
Mark
I have a time series of data with time values to the nearest millisecond (eg. 08:04:15.137). How can I alter this so it is only recorded to the nearest second? i.e. 08:04:15
Alternatively, I have data with multiple records within one second, for example, with x and time fields:
x time
1 08:04:15.137
2 08:04:15.147
3 08:04:15.159
4 08:04:15.161
5 08:04:15.168
6 08:04:15.199
7 08:06:53.345
8 08:06:53.486
9 08:06:53.727
I only want to keep the first observation within each second, in this instance the data would now be:
x time
1 08:04:15
7 08:06:53
How would I go about this?
Thanks
Mark