powered by
The function depicts forecast and actual data.
reg_plot(model, dataset)
An object of class lm.
lm
A dataset based on which model was built.
The Agency of the Republic of Kazakhstan for Regulation and Development of Financial Market (AFR)
data(macroKZ) model <- lm(real_gdp ~ usdkzt + eurkzt + imp + exp, data = macroKZ) reg_plot(model, macroKZ)
Run the code above in your browser using DataLab