reg_plot {AFR}R Documentation

Regression forecast plot

Description

The function depicts forecast and actual data.

Usage

reg_plot(model, dataset)

Arguments

model

An object of class lm.

dataset

A dataset based on which model was built.

Author(s)

The Agency of the Republic of Kazakhstan for Regulation and Development of Financial Market (AFR)

Examples

data(macroKZ)
model <- lm(real_gdp ~ usdkzt + eurkzt + imp + exp, data = macroKZ)
reg_plot(model, macroKZ)

[Package AFR version 0.3.5 Index]