Advertisement
897bhgy

Untitled

Jul 11th, 2023
552
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 0.10 KB | Source Code | 0 0
  1. #linear regression
  2. fit2 = lm(Starbucks$Amount ~ Starbucks$Income)
  3. res = residuals(fit2)
  4.  
  5. summary(fit2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement