data("USunempr")
data("USrealgdp")
y <- diff(log(USrealgdp))
x <- window(diff(USunempr),start=1949)
trend <- 1:length(y)
mlr <- lf_lags_table(y~trend+fmls(x,12,12,nealmon),
start=list(x=rep(0,3)),
from=c(x=0),to=list(x=c(3,4)))
mlr
Run the code above in your browser using DataLab