validate_common_prediction_params: Validates common input parameters to the prediction...

Description Usage Arguments

Description

Validates common input parameters to the prediction functions.

Usage

1
validate_common_prediction_params(pv, agg_fun, na_handle)

Arguments

pv

[pollyvote]
the pollyvote object of which to get the prediction data from.

agg_fun

[character(1)]
the name of the aggregation function to use, currently 'mean' and 'median' are supported

na_handle

[character(1)]
specifies how NA values are handled in the data.

time_int[date]

the time interval for the prediction.


pollyvote/pollyvoter documentation built on May 25, 2019, 11:23 a.m.