To fit a linear regression model in R, you would use the ______ function.

  • lm()
  • regmodel()
  • linreg()
  • regression()
To fit a linear regression model in R, you would use the lm() function. The lm() function stands for "linear model" and is used for estimating the coefficients of a linear regression model based on the given data.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *