spline_timestamp_sync | R Documentation |
Often timestamps of two data frames will be mismatched. To produced matching timestamps, columns that may be splined will be and then corresponding values at the 'correct' timestamp are used.
spline_timestamp_sync( data, data_ts = "timestamp", merge_data, merge_ts = "timestamp" )
data |
A data frame with a correct timestamp column. |
data_ts |
The column name for the |
merge_data |
A data frame that will be linearly
interpolated and merged with |
merge_ts |
The column name for the
|
Any value that can not be linearly interpolated such as a string will remain the same.
The resulting merged data frame.
Arash Khalilnejad
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.