check_preprocess_fct: Check the custom preprocessing function

Description Usage Arguments Value

View source: R/arg_checks.R

Description

This function checks whether the specified function is indeed a function

Usage

1

Arguments

prepro_fct

A function, a preprocessing function which handles missing values in the data. The default preprocessing function selects the largest interval of non-missing values and then attributes the most recent dates to those values. Other data handling functions can be applied (e.g. timeSeries::na.contiguous, imputeTS::na.mean, custom-developed...).

Value

NULL (if no fct is specified) or prepro_fct (if prepro_fct is specified)


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