View source: R/get_geom_lags.R
get_weighted_lags | R Documentation |
This function modifies the design matrices from first-order lags to weighted lags with weighted structure. Used within weightedSumNE
and weightedSumAR
.
get_weighted_lags(lag1, lag_weights, sum_up = FALSE)
lag1 |
a matrix of first lags as usually used in |
sum_up |
|
lag_weigths |
a vector of weights; the length of this vector determines the number of lags. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.