The LinRegMatrix function takes a data set and outputs a linear regression model. The LinReg function takes the linear regression model and outputs its coefficients. The 0th coefficient corresponds to the slope intercept.
The LinRegMatrix function takes a data set and outputs a linear regression model. The LinReg function takes the linear regression model and outputs its coefficients. The 0th coefficient corresponds to the slope intercept.