.validate_exogenous {nixtlar}R Documentation

Validate exogenous variables (if applicable) This is a private function of 'nixtlar'

Description

Validate exogenous variables (if applicable) This is a private function of 'nixtlar'

Usage

.validate_exogenous(df, h, X_df)

Arguments

df

A tsibble or a data frame with time series data.

h

Forecast horizon.

X_df

A tsibble or a data frame with future exogenous variables.

Value

A list with the result of the validation (TRUE/FALSE) and an error message (if applicable)

Examples

## Not run: 
df <- nixtlar::electricity_exo_vars
X_df <- nixtlar::electricity_future_exo_vars
.validate_exogenous(df, h=24, X_df)

## End(Not run)


[Package nixtlar version 0.5.2 Index]