This function is used to check and verify the input data given as input.
The package needs a univariate time series as input. This function keeps
the first 2 columns, first is renamed as time and second is renamed as value.
If the optional time
and value
arguments are provided then they are used
to determine the relevant columns in the data.
Arguments
- df
A data frame containing the input data. If it contains more than two columns then specify the names of time and value columns using the
time
andvalue
arguments.- dt_format
Format of timestamps used in the data. It uses lubridate formats as mentioned here.
- time
The name of column in provided data to be used as time column.
- value
The name of column in provided data, to be used as value(observations) column.