data(pwt8)
roll <- dcce_rolling(
data = pwt8,
unit_index = "country",
time_index = "year",
formula = d_log_rgdpo ~ log_hc + log_ck + log_ngd,
model = "cce",
cross_section_vars = ~ .,
window = 20,
step = 2
)
print(roll)
Run the code above in your browser using DataLab