get_time_weights: Generate time weights

Description Usage Arguments Value Author(s) Examples

View source: R/auxiliar.R

Description

Method to define data points' weights for regression based models.

Usage

1
get_time_weights(y_var, time_weight)

Arguments

y_var

numeric. Time series vector data.

time_weight

Numeric. How rapidly recent observations weight for estimation.

Value

Numerical vector.

Author(s)

Obryan Poyser

Examples

1
2
3
4
## Not run: 
get_time_weights()

## End(Not run)

opoyc/autoforecast documentation built on May 18, 2021, 1:29 a.m.