check_models_args: Check models' arguments

Description Usage Arguments Value

View source: R/arg_checks.R

Description

This function ensures that the models' arguments are a list. Furthermore, the function checks if these arguments match the selected model names, otherwise they will be dropped.

Usage

1
check_models_args(models_args, model_names = NULL)

Arguments

models_args

A list, optional arguments to passed to the models

model_names

A list or vector of strings representing the model names to be used

Value

models_args: A list, parameters to be passed to the models where unused parameters are dropped


xavierkamp/tsForecastR documentation built on Feb. 1, 2020, 10:16 a.m.