dec_plot {AFR} | R Documentation |
The function depicts decomposition of regressors as a stacked barplot
dec_plot(model, dataset, print_plot = TRUE)
model |
An object of class |
dataset |
A dataset based on which model was built |
print_plot |
logical |
The Agency of the Republic of Kazakhstan for Regulation and Development of Financial Market (AFR)
Hebbali, Aravind. Published 2020-02-10. olssr package
data(macroKZ)
model <- lm(real_gdp ~ usdkzt + eurkzt + imp+exp, data = macroKZ)
dec_plot(model, macroKZ)