Description Usage Arguments Details Value See Also Examples
This function converts a vector of timestamps (POSIXct/lt) into a collection of all the differences between each timestamp with each other. The idea is to head towards a frequency distribution of the time series, but rather than using a signal it is using a sequences of events or impulses.
1 | timelist_to_difference(timestamps)
|
timestamps |
a vector of POSIXct |
The other arguments are passed to the data.frame function and need to be of the form: var = "value", as you might want to pass through an identifier such as a student id or content id with the table of differences for later use
dataframe, with first column called 'intervals'
Other timelist: timelist_to_difference_assembler
1 2 | testTimes <- as.POSIXlt.POSIXct(sample(10000000:11100000 , 1000, replace = FALSE))
timelist_to_difference(testTimes)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.