Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Blog 

Regressão linear

Language: Layout:
+ ] Show input
Absolute running time: 2.47 sec, cpu time: 0.94 sec, memory peak: 32 Mb, absolute service time: 2,48 sec 
edit mode |  history  | discussion
[1] "correlação"
[1]  2  4  6  8 10 12
[1]  5  8 12 17 25 24
[1] 0.9747347
[1] 0.9501076

Call:
lm(formula = y ~ x)

Coefficients:
(Intercept)            x  
    0.06667      2.15714