Description Usage Arguments Details Value Examples
Function to separate the dataframe into a list by the time window specified.
1 |
df |
Dataframe: first column time stamps in POSIXct format, second column sequence in factor format. |
timetype |
Time window for separating the dataset, i.e. day = '%Y-%m-%d', week = '%Y-%W' and month '%Y-%m'. |
Simple function to separate a dataframe into a list of dataframes by the time window desired. The dataframe must be in a specific format to be separated; first column - time stamps that provide enough information to adapt to the chosen time window, second column - categorical sequence in factor format.
List of dataframes for each sequence separated by time window.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.