View source: R/get_geom_lags.R
| distr_lag | R Documentation | 
Display the function and parameters used for distributed lags
distr_lag(hhh4Obj)
hhh4Obj | 
 an object of class   | 
A list containing the function and parameters characterizing the lag weights
(for both the ar and ne components)
data("salmonella.agona")
## convert old "disProg" to new "sts" data class
salmonella <- disProg2sts(salmonella.agona)
# specify and fit model: fixed geometric lag structure
# with weight 0.8 for first lag
control_salmonella <- list(end = list(f = addSeason2formula(~ 1)),
                           ar = list(f = addSeason2formula(~ 1),
                           par_lag = 0.8),
                           family = "NegBinM", subset = 6:312)
fit_salmonella <- hhh4_lag(salmonella, control_salmonella)
distr_lag(fit_salmonella)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.