title: Intercept and slope functions in R
body: <p>is there an intercept and slope function in R like there is in excel? I know you can use the function &quot;lm&quot; to run a linear regression but for my purposes it would be much more practical to get the output simply as a number just like using intercept and slope in excel does.</p>