options(warn=-1)
library(imager)
## Loading required package: magrittr
##
## Attaching package: 'imager'
## The following object is masked from 'package:magrittr':
##
## add
## The following objects are masked from 'package:stats':
##
## convolve, spectrum
## The following object is masked from 'package:graphics':
##
## frame
## The following object is masked from 'package:base':
##
## save.image
file <- system.file('C:/Users/hukha/OneDrive/Desktop/MS - Data Science/Data 606 - Statistics and Probability for data science/Data 606/8.7.png', package='imager')
im <- load.image('C:/Users/hukha/OneDrive/Desktop/MS - Data Science/Data 606 - Statistics and Probability for data science/Data 606/8.7.png')
plot(im)
Age - Based on the values of adjusted r-square, age should be removed first and then overall model’s adj r-square should be checked.