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"
)The resulting merged data frame.
A data frame with a correct timestamp column.
The column name for the data
timestamp. Defaults to 'timestamp'
A data frame that will be linearly
interpolated and merged with data.
The column name for the
merge_data timestamp. Defaults to 'timestamp'.
Arash Khalilnejad
Any value that can not be linearly interpolated such as a string will remain the same.