Check https://pythonforscientist.blogspot.com/2021/ for reference
Data set in https://cutt.ly/BEQUlnA
>>>lin_reg <- lm(file_car$dist~file_car$speed)
#code above creates linear regression lm(y~x)
>>>lin_reg
>>> plot(file_car$speed,file_car$dist)
No comments:
Post a Comment