Regression analysis is one of the first tools used when analyzing your dataset. It involves estimating the relationship between variables, and often it will give you an immediate insight into the organization of your data.
In this chapter, we will look at tools available in R for regression analysis:
In R, there are several packages available that provide the programmer with the regression functionality. We will be using the following packages in the examples:
chemometrics: This package has tools to analyze chemometric data (multivariate)
MASS: This package offers modern applied statistics with S
In simple ...