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