October 2017
Beginner to intermediate
572 pages
26h 1m
English
Before predicting we need to see how variables are related and what is the confidence level. We need a corrplot package to see this. Perform the following steps to find the correlation matrix and confidence interval:
> install.packages("corrplot")
> require(corrplot)
> mydata$Month = airquality$Month # Removing factors, using original data
Following command will generate the correlation plot of mydata
> corrplot(cor(mydata),method="number")

corrplot will produce a correlation matrix and we can easily see how variables or attributes are related to each other. We can now start predicting, perform the following ...
Read now
Unlock full access