I am just learning R and have come up against this.
I have the below time series observations,
10/08/2015 02:31:04.450
- I want to split the date and the time to separate columns.
- Do i need need to round the Milliseconds in time? if so how.
I have been looking at, data table
, lubridate
to try and figure it out. I looked at XTS
but that seems to be more orientated to aggregation of dates.
Are they any existing packages in R that allows for this splitting? and what sort of argument would I use.
Any help would be much appreciated.