powered by
The function depicts decomposition of regressors as a stacked barplot
dec_plot(model, dataset, print_plot = TRUE)
An object of class lm.
lm
A dataset based on which model was built
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)
Run the code above in your browser using DataLab