inst/doc/Regression-model.R

## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----setup, echo=FALSE, message=FALSE-----------------------------------------
library(AFR)
library(olsrr)
library(stats)

## ----echo=TRUE----------------------------------------------------------------
model<-lm(real_gdp~imp+exp+usdkzt+eurkzt, macroKZ)
opt_size(model)

## ----results="hide"-----------------------------------------------------------
check_betas(model)

## ----results="hide"-----------------------------------------------------------
dec_plot(model, macroKZ)

## ----results="hide"-----------------------------------------------------------
reg_plot(model, macroKZ)

Try the AFR package in your browser

Any scripts or data that you put into this service are public.

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