reg_plot: Regression forecast plot

View source: R/reg_plot.R

reg_plotR 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)

AFR documentation built on Nov. 2, 2023, 6:09 p.m.