Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Linear Regression
#R version 3.3.2 x =c(1,2,3,4,5,6:10) y = c(1,3,5,7,8:13) r<-lm(y~x) a=data.frame(x=c(11:20)) plot(c(x,11:20),c(y,predict(r,a)),abline(r),cex=3,pch=3,col="blue") print(summary(r))
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
asdf
1
TH1
ExDecaiEulerMin28-01-21
16-09-2020ExVitorc
Guess the next number
Gamma
05-08-2020-Resolução-equaçao
time series
Camelcase
Please log in to post a comment.